Skip to content

Commit 9c5bc7a

Browse files
AZero13arsenm
andauthored
Update llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Co-authored-by: Matt Arsenault <[email protected]>
1 parent 294266d commit 9c5bc7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5615,8 +5615,8 @@ bool SelectionDAG::isKnownNeverZero(SDValue Op, unsigned Depth) const {
56155615
KnownBits Op1 = computeKnownBits(Op.getOperand(1), Depth + 1);
56165616

56175617
// For signed division need to compare abs value of the operands.
5618-
Op0 = Op0.abs(/*IntMinIsPoison*/ false);
5619-
Op1 = Op1.abs(/*IntMinIsPoison*/ false);
5618+
Op0 = Op0.abs(/*IntMinIsPoison=*/ false);
5619+
Op1 = Op1.abs(/*IntMinIsPoison=*/ false);
56205620

56215621
std::optional<bool> Uge = KnownBits::uge(Op0, Op1);
56225622
if (Uge && *Uge)

0 commit comments

Comments
 (0)