Skip to content

Commit 98235c2

Browse files
authored
Update llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
1 parent 22ad486 commit 98235c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,10 +1510,10 @@ static bool leftDistributesOverRight(Instruction::BinaryOps LOp, bool HasNUW,
15101510
switch (ROp) {
15111511
case Intrinsic::umax:
15121512
case Intrinsic::umin:
1513-
return hasNUW && LOp == Instruction::Add;
1513+
return HasNUW && LOp == Instruction::Add;
15141514
case Intrinsic::smax:
15151515
case Intrinsic::smin:
1516-
return hasNSW && LOp == Instruction::Add;
1516+
return HasNSW && LOp == Instruction::Add;
15171517
default:
15181518
return false;
15191519
}

0 commit comments

Comments
 (0)