[PATCH] D154789: [InstCombine] Add tests for bitwise (A << X, zext(icmp)) -> zext (bitwise(A<0, icmp)) fold (NFC)
Hongyu Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 9 07:13:18 PDT 2023
XChy created this revision.
XChy added reviewers: nikic, goldstein.w.n, spatel, k-arrows.
XChy added projects: LLVM, All.
Herald added a subscriber: StephenFan.
XChy requested review of this revision.
Herald added a subscriber: llvm-commits.
Tests for an upcoming bitwise (A << X, zext(icmp)) -> zext (bitwise(A<0, icmp)) fold.
Related issue:
a < b | a >b <https://github.com/llvm/llvm-project/issues/62586>
a < b & a >= b - 1 <https://github.com/llvm/llvm-project/issues/62586>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154789
Files:
llvm/test/Transforms/InstCombine/and-or-icmps.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154789.538429.patch
Type: text/x-patch
Size: 5136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230709/b69a2ece/attachment.bin>
More information about the llvm-commits
mailing list