diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-08 18:32:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-08 18:32:24 +0000 |
commit | dfb806f6ba53b792171b928b57def9d0182d2f5f (patch) | |
tree | bab1deb804e8c347564e3e3b55bf0f41b3422d82 /lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 435d0bd09d34d0a9df2418b121c845841b0b5e11 (diff) |
InstCombine: If we have a bit test and a sign test anded/ored together, merge the sign bit into the bit test.
This is common in bit field code, e.g. checking if the first or the last bit of a bit field is set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions