Add a prototype of a new peephole optimizing pass that uses LazyValue info to simplif...
authorOwen Anderson <resistor@mac.com>
Fri, 27 Aug 2010 23:31:36 +0000 (23:31 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 27 Aug 2010 23:31:36 +0000 (23:31 +0000)
commita0b59f6bd23afaeba923b94f46838cffd5218a12
tree0ac25e8321349e71ebdc071c25df9b28d97a8d32
parentee61fcf98bb84e7e9f3450035bef92c4d087c0ae
Add a prototype of a new peephole optimizing pass that uses LazyValue info to simplify PHIs and select's.
This pass addresses the missed optimizations from PR2581 and PR4420.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112325 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/ValuePropagation.cpp [new file with mode: 0644]
test/Transforms/ValuePropagation/dg.exp [new file with mode: 0644]
test/Transforms/ValuePropagation/phi.ll [new file with mode: 0644]
test/Transforms/ValuePropagation/select.ll [new file with mode: 0644]