aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2023-09-13 13:45:32 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2023-09-13 15:50:17 -0500
commit119194ada6385f0a75a7e7e50915daab2841dc9f (patch)
treed9b0f659488aec321766fa2ff18466bf39175561 /clang/lib/Basic/SourceManager.cpp
parent67ba29380809d0e932acb2ff29690ad99e5c832c (diff)
downloadllvm-119194ada6385f0a75a7e7e50915daab2841dc9f.zip
llvm-119194ada6385f0a75a7e7e50915daab2841dc9f.tar.gz
llvm-119194ada6385f0a75a7e7e50915daab2841dc9f.tar.bz2
[InstCombine] Transform `(icmp ult/uge (and X, Y), X)` -> `(icmp ne/eq (and X, Y), X)`
eq/ne are generally easier to reason about elsewhere. ult -> ne: https://alive2.llvm.org/ce/z/5wxXGt uge -> eq: https://alive2.llvm.org/ce/z/Dw6kqG Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D145425
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions