[llvm] r184933 - Fixed a comment.
Elena Demikhovsky
elena.demikhovsky at intel.com
Wed Jun 26 05:15:53 PDT 2013
Author: delena
Date: Wed Jun 26 07:15:53 2013
New Revision: 184933
URL: http://llvm.org/viewvc/llvm-project?rev=184933&view=rev
Log:
Fixed a comment.
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=184933&r1=184932&r2=184933&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Jun 26 07:15:53 2013
@@ -1765,8 +1765,8 @@ SDValue DAGCombiner::visitSUBE(SDNode *N
return SDValue();
}
-/// isSplatVector - Returns true if N is a BUILD_VECTOR node whose elements are
-/// all the same or undefined.
+/// isConstantSplatVector - Returns true if N is a BUILD_VECTOR node whose elements are
+/// all the same constant or undefined.
static bool isConstantSplatVector(SDNode *N, APInt& SplatValue) {
BuildVectorSDNode *C = dyn_cast<BuildVectorSDNode>(N);
if (!C)
More information about the llvm-commits
mailing list