Skip to content

Commit c3738cf

Browse files
actinksnikic
andauthored
Update commonts
Co-authored-by: Nikita Popov <[email protected]>
1 parent 6975edb commit c3738cf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7729,15 +7729,8 @@ Instruction *InstCombinerImpl::visitICmpInst(ICmpInst &I) {
77297729
}
77307730

77317731
// icmp slt (sub nsw x, y), (add nsw x, y) --> icmp sgt y, 0
7732-
// icmp sgt (sub nsw x, y), (add nsw x, y) --> icmp slt y, 0
7733-
// icmp sle (sub nsw x, y), (add nsw x, y) --> icmp sge y, 0
7734-
// icmp sge (sub nsw x, y), (add nsw x, y) --> icmp sle y, 0
77357732
// icmp ult (sub nuw x, y), (add nuw x, y) --> icmp ugt y, 0
7736-
// icmp ugt (sub nuw x, y), (add nuw x, y) --> icmp ult y, 0
7737-
// icmp ule (sub nuw x, y), (add nuw x, y) --> icmp uge y, 0
7738-
// icmp uge (sub nuw x, y), (add nuw x, y) --> icmp ule y, 0
77397733
// icmp eq (sub nsw/nuw x, y), (add nsw/nuw x, y) --> icmp eq y, 0
7740-
// icmp ne (sub nsw/nuw x, y), (add nsw/nuw x, y) --> icmp ne y, 0
77417734
{
77427735
Value *A, *B;
77437736
CmpPredicate CmpPred;

0 commit comments

Comments
 (0)