Propagate ValueRanges across equality.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 18 Mar 2007 01:09:32 +0000 (01:09 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 18 Mar 2007 01:09:32 +0000 (01:09 +0000)
commit1eda0f60d7fe9207d40713501f2c04856063a763
tree59cf0bd879abc9da1602c3dbc55cb8ce4181025f
parent1cc645218105be635851b195cb44b1598830106c
Propagate ValueRanges across equality.

Add some more micro-optimizations: x * 0 = 0, a - x = a --> x = 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp
test/Transforms/PredicateSimplifier/2007-03-17-OpsToDefVRP.ll [new file with mode: 0644]