[llvm] r217278 - clean up; NFC
Sanjay Patel
spatel at rotateright.com
Fri Sep 5 13:55:47 PDT 2014
Author: spatel
Date: Fri Sep 5 15:55:46 2014
New Revision: 217278
URL: http://llvm.org/viewvc/llvm-project?rev=217278&view=rev
Log:
clean up; NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=217278&r1=217277&r2=217278&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Fri Sep 5 15:55:46 2014
@@ -619,7 +619,7 @@ static SDValue GetNegatedExpression(SDVa
}
}
-// isSetCCEquivalent - Return true if this node is a setcc, or is a select_cc
+// Return true if this node is a setcc, or is a select_cc
// that selects between the target values used for true and false, making it
// equivalent to a setcc. Also, set the incoming LHS, RHS, and CC references to
// the appropriate nodes based on the type of node we are checking. This
@@ -675,7 +675,7 @@ static SDNode *isConstantBuildVectorOrCo
if (isa<ConstantSDNode>(N))
return N.getNode();
BuildVectorSDNode *BV = dyn_cast<BuildVectorSDNode>(N);
- if(BV && BV->isConstant())
+ if (BV && BV->isConstant())
return BV;
return nullptr;
}
More information about the llvm-commits
mailing list