Skip to content

Commit 80e3763

Browse files
committed
Fixed a typo
1 parent 6f13aca commit 80e3763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4877,7 +4877,7 @@ Instruction *InstCombinerImpl::foldICmpBinOp(ICmpInst &I,
48774877
isKnownNonZero(Z, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT);
48784878
// if Z != 0 and nsw(X * Z) and nsw(Y * Z)
48794879
// X * Z eq/ne Y * Z -> X eq/ne Y
4880-
if (NonZero && BO0 && BO1 && Op0HasNUW && Op1HasNSW)
4880+
if (NonZero && BO0 && BO1 && Op0HasNSW && Op1HasNSW)
48814881
return new ICmpInst(Pred, X, Y);
48824882
} else
48834883
NonZero = isKnownNonZero(Z, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT);

0 commit comments

Comments
 (0)