summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena Demikhovsky <elena.demikhovsky@intel.com>2013-06-26 12:15:53 +0000
committerElena Demikhovsky <elena.demikhovsky@intel.com>2013-06-26 12:15:53 +0000
commitd8026708ef9c1ebb326426d207cf79cba7ff09b3 (patch)
treeb1310fffb3a2d37fc7f1236204c4777b576b92ef
parent7e980a68454cbf209c7fd6160b4db2083aa652cc (diff)
downloadllvm-d8026708ef9c1ebb326426d207cf79cba7ff09b3.tar.gz
llvm-d8026708ef9c1ebb326426d207cf79cba7ff09b3.tar.bz2
llvm-d8026708ef9c1ebb326426d207cf79cba7ff09b3.tar.xz
Fixed a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184933 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 5af4aa01b8..00469b0f32 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<BuildVectorSDNode>(N);
if (!C)