Fixed a comment.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / DAGCombiner.cpp
index 5af4aa01b8f3d0d51a30145193faa26ba5517e67..00469b0f32aa198894b54d067166bd5c4fdfeaec 100644 (file)
@@ -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)