diff options
author | Amara Emerson <amara@apple.com> | 2023-10-20 11:16:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 11:16:05 -0700 |
commit | 9189822f2c2eca55f6e7adcd26e3f15d65797b76 (patch) | |
tree | 19a1a90ddf327bad099f0d89b10f449cf52e261d /clang/lib/Lex/ModuleMap.cpp | |
parent | 3a4b0e9356748fc7d84f25d1b4c81352e9e23cce (diff) | |
download | llvm-9189822f2c2eca55f6e7adcd26e3f15d65797b76.zip llvm-9189822f2c2eca55f6e7adcd26e3f15d65797b76.tar.gz llvm-9189822f2c2eca55f6e7adcd26e3f15d65797b76.tar.bz2 |
[LVI] Handle icmp of ashr. (#68010)
This handles the case where this combine:
icmp sgt (ashr X, ShAmtC), C --> icmp sgt X, ((C + 1) << ShAmtC) - 1
wasn't performed by instcombine.
Proof of the original combine: https://alive2.llvm.org/ce/z/SfpsvX
This is a port of the review in https://reviews.llvm.org/D151911 to
GitHub.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions