[llvm] r304569 - [TargetLowering] fix formatting; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 2 10:35:02 PDT 2017
Author: spatel
Date: Fri Jun 2 12:35:02 2017
New Revision: 304569
URL: http://llvm.org/viewvc/llvm-project?rev=304569&view=rev
Log:
[TargetLowering] fix formatting; NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=304569&r1=304568&r2=304569&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Fri Jun 2 12:35:02 2017
@@ -1493,8 +1493,7 @@ SDValue TargetLowering::SimplifySetCC(EV
}
}
- // 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() ||
More information about the llvm-commits
mailing list