diff options
author | Nikita Popov <npopov@redhat.com> | 2022-02-23 15:49:12 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-02-23 15:51:36 +0100 |
commit | 587c7ff15c26d3a751fb6a10b2af60d4a25640c9 (patch) | |
tree | ac2d237a89a9c1b988113603f71cd88f29fd3be8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 2824a65c1ff5800879a0665eba12f7446ce2b653 (diff) | |
download | llvm-587c7ff15c26d3a751fb6a10b2af60d4a25640c9.zip llvm-587c7ff15c26d3a751fb6a10b2af60d4a25640c9.tar.gz llvm-587c7ff15c26d3a751fb6a10b2af60d4a25640c9.tar.bz2 |
[InstCombine] Support min/max intrinsics in udiv->lshr fold
This complements the existing fold for selects. This fold is a bit
more conservative, requiring one-use. The other folds here should
probably also be subjected to a one-use restriction.
https://alive2.llvm.org/ce/z/Q9eCDU
https://alive2.llvm.org/ce/z/8YK2CJ
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions