diff options
author | Sanjay Patel <spatel@rotateright.com> | 2023-01-09 16:29:24 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2023-01-09 16:29:24 -0500 |
commit | f400daae902875b488c92b13322e39f41eb20934 (patch) | |
tree | 3f9ba8b0c4427a8363323ecd151fcc8bac4a3a18 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | a4f3b236719529bdc987d4f347e8711c27587ce4 (diff) | |
download | llvm-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