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 | edac9151fdc24dc2d1eb4692bbfdd71baca12949 (patch) | |
tree | aea81786b16d439a1c1fbc3e97c5a48d64355f90 /lib/Target/NVPTX/NVPTXISelLowering.cpp | |
parent | 97daabf318ff4751aca49bc1c334d2553b125671 (diff) | |
download | llvm-edac9151fdc24dc2d1eb4692bbfdd71baca12949.tar.gz llvm-edac9151fdc24dc2d1eb4692bbfdd71baca12949.tar.bz2 llvm-edac9151fdc24dc2d1eb4692bbfdd71baca12949.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX/NVPTXISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions