summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-06-29 21:17:04 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-06-29 21:17:04 +0000
commit4093f29366524144562a6b9fbc32e90f1abe641b (patch)
tree38e0e1fc553d8a3fc00a20b39ff50741299f298c /clang/lib/CodeGen/CodeGenModule.cpp
parent396906456f5ea7952866ed338727594e60345d46 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud