summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitfed077be036807768e8397dbedccd62db5d2de3b (patch)
tree15f34baf524651b7198d5f470726e38001f4e771 /llvm/lib
parent1c9de1f078f33447963ac12b6672ffc2d9e8813a (diff)
downloadbcm5719-llvm-fed077be036807768e8397dbedccd62db5d2de3b.tar.gz
bcm5719-llvm-fed077be036807768e8397dbedccd62db5d2de3b.zip
Fixed a comment.
llvm-svn: 184933
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 5af4aa01b8f..00469b0f32a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud