[PATCH] D154938: [InstCombine] Test cases for D154937
Dhruv Chawla via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 03:08:25 PDT 2023
0xdc03 created this revision.
0xdc03 added a reviewer: nikic.
Herald added a subscriber: StephenFan.
Herald added a project: All.
0xdc03 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Create test cases for the following two folds:
(icmp eq X, C) | (icmp ult Other, (X - C)) -> (icmp ule Other, (X - (C + 1)))
(icmp ne X, C) & (icmp uge Other, (X - C)) -> (icmp ugt Other, (X - (C + 1)))
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154938
Files:
llvm/test/Transforms/InstCombine/and-or-icmp-const-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154938.538992.patch
Type: text/x-patch
Size: 21901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/b622dba8/attachment.bin>
More information about the llvm-commits
mailing list