From d8026708ef9c1ebb326426d207cf79cba7ff09b3 Mon Sep 17 00:00:00 2001 From: Elena Demikhovsky Date: Wed, 26 Jun 2013 12:15:53 +0000 Subject: [PATCH] Fixed a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184933 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 5af4aa01b8f..00469b0f32a 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -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(N); if (!C) -- 2.34.1