Skip to content

Commit

Permalink
[TargetLowering] fix formatting; NFC
Browse files Browse the repository at this point in the history
llvm-svn: 304569
  • Loading branch information
rotateright committed Jun 2, 2017
1 parent ee021d5 commit cdb5dad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1493,8 +1493,7 @@ SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
}
}

// Ensure that the constant occurs on the RHS, and fold constant
// comparisons.
// Ensure that the constant occurs on the RHS and fold constant comparisons.
ISD::CondCode SwappedCC = ISD::getSetCCSwappedOperands(Cond);
if (isa<ConstantSDNode>(N0.getNode()) &&
(DCI.isBeforeLegalizeOps() ||
Expand Down

0 comments on commit cdb5dad

Please sign in to comment.