diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-29 21:17:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-29 21:17:04 +0000 |
commit | 4093f29366524144562a6b9fbc32e90f1abe641b (patch) | |
tree | 38e0e1fc553d8a3fc00a20b39ff50741299f298c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 396906456f5ea7952866ed338727594e60345d46 (diff) | |
download | bcm5719-llvm-4093f29366524144562a6b9fbc32e90f1abe641b.tar.gz bcm5719-llvm-4093f29366524144562a6b9fbc32e90f1abe641b.zip |
InstCombine: Also turn selects fed by an and into arithmetic when the types don't match.
Inserting a zext or trunc is sufficient. This pattern is somewhat common in
LLVM's pointer mangling code.
llvm-svn: 185270
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions