Skip to content

Commit 0c1f0bd

Browse files
committed
Consistency
1 parent 51ca82f commit 0c1f0bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3377,14 +3377,14 @@ bool isLegalCmpImmed(APInt C) {
33773377

33783378
static bool isSafeSignedCMN(SDValue Op, SelectionDAG &DAG) {
33793379
// 0 - INT_MIN sign wraps, so no signed wrap means cmn is safe.
3380-
if (Op->getFlags().hasNoSignedWrap())
3380+
if (Op.getFlags().hasNoSignedWrap())
33813381
return true;
33823382

33833383
// We can still figure out if the second operand is safe to use
33843384
// in a CMN instruction by checking if it is known to be not the minimum
33853385
// signed value. If it is not, then we can safely use CMN.
33863386
// Note: We can eventually remove this check and simply rely on
3387-
// Op->getFlags().hasNoSignedWrap() once SelectionDAG/ISelLowering
3387+
// Op.getFlags().hasNoSignedWrap() once SelectionDAG/ISelLowering
33883388
// consistently sets them appropriately when making said nodes.
33893389

33903390
KnownBits KnownSrc = DAG.computeKnownBits(Op.getOperand(1));

0 commit comments

Comments
 (0)