If we know that it's a constant being casted, propagate through the cast
authorNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jan 2007 01:23:53 +0000 (01:23 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jan 2007 01:23:53 +0000 (01:23 +0000)
commit28c5b1544a26adb1008ba445ec62ab69c3db09db
tree12fe461ee58699906b446e5684676ec65949737f
parentc2a7d097f940f5265a8a56f98103030984dfa769
If we know that it's a constant being casted, propagate through the cast
instruction. Doesn't work the other way though (can't recover bits that
have been truncated).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp