aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2023-01-09 16:29:24 -0500
committerSanjay Patel <spatel@rotateright.com>2023-01-09 16:29:24 -0500
commitf400daae902875b488c92b13322e39f41eb20934 (patch)
tree3f9ba8b0c4427a8363323ecd151fcc8bac4a3a18 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenta4f3b236719529bdc987d4f347e8711c27587ce4 (diff)
downloadllvm-f400daae902875b488c92b13322e39f41eb20934.zip
llvm-f400daae902875b488c92b13322e39f41eb20934.tar.gz
llvm-f400daae902875b488c92b13322e39f41eb20934.tar.bz2
[InstCombine] limit zext-of-icmp folds to bit-hacks
In the changed tests, we avoid creating extra instructions, and there are no obvious regressions in IR tests at least. Codegen should be able to create the shift+mask form if that is profitable. This is a more general fix for issue #59897 than 0eedc9e56712 .
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions