Fixed a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Elena Demikhovsky 2013-06-26 12:15:53 +00:00
parent 7e980a6845
commit d8026708ef

View 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)