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 | da37e15345ad1356b82395c2eaf912ee96f0a6e8 (patch) | |
tree | 8e6a963a817968d75e0d5d910d161150cc0e65a8 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 540651cf5952f0825ef480611d45528e9791b749 (diff) | |
download | llvm-da37e15345ad1356b82395c2eaf912ee96f0a6e8.zip llvm-da37e15345ad1356b82395c2eaf912ee96f0a6e8.tar.gz llvm-da37e15345ad1356b82395c2eaf912ee96f0a6e8.tar.bz2 |
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.
llvm-svn: 147749
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions