summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2024-04-07 14:38:03 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2024-04-09 13:56:28 -0500
commit7599d478efb1576b5013d17a70971f76d6f7c25a (patch)
treebd88ab11489fa6d208e37134efdd1e20fa0b5c87 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent759bab068157d93a71ef20dc28a2eaed4fec6d40 (diff)
[InstCombine] Fold `(icmp eq/ne (add nuw x, y), 0)` -> `(icmp eq/ne (or x, y), 0)`
`(icmp eq/ne (or x, y), 0)` is probably easier to analyze than `(icmp eq/ne x, -y)` Proof: https://alive2.llvm.org/ce/z/2-VTb6 Closes #88088
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions