summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-08-16 07:09:17 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-08-16 07:09:17 +0000
commitdfa3b0954145ec64e08ce4b3f31f1d8a1076d4fd (patch)
treedf1a41b1b51aeeb1b4612048697f2aa96662090c /llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
parent5efd530cbcd7595715d75593c94a01176ecc5cb8 (diff)
downloadbcm5719-llvm-dfa3b0954145ec64e08ce4b3f31f1d8a1076d4fd.tar.gz
bcm5719-llvm-dfa3b0954145ec64e08ce4b3f31f1d8a1076d4fd.zip
[InstCombine] Replace an and+icmp with a trunc+icmp
Bitwise arithmetic can obscure a simple sign-test. If replacing the mask with a truncate is preferable if the type is legal because it permits us to rephrase the comparison more explicitly. llvm-svn: 245171
Diffstat (limited to 'llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud