OSDN Git Service

In LVI(Lazy Value Info), originally value on a BB can only be caculated once,
authorJiangning Liu <jiangning.liu@arm.com>
Mon, 11 Aug 2014 05:02:04 +0000 (05:02 +0000)
committerJiangning Liu <jiangning.liu@arm.com>
Mon, 11 Aug 2014 05:02:04 +0000 (05:02 +0000)
commit1505fa4376fb5c97625efa36d83beca49b864b2d
tree31c5e7c92a147873b9763acea6533d322f6839ad
parent07f1b21cb5c9ccda085f810c2c9d0d154e29f8c9
In LVI(Lazy Value Info), originally value on a BB can only be caculated once,
and the lattice will be updated to be a state other than "undefined". This
limiation could miss some opportunities of lowering "overdefined" to be an
even accurate value. So this patch ask the algorithm to try to lower the
lattice value again even if the value has been lowered to be "overdefined".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215343 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LazyValueInfo.cpp
test/Transforms/JumpThreading/jump_threading.ll [new file with mode: 0644]