fix some spell mistakes around 'ConcatVector' and 'ShuffleVector' in AArch64 backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kevin Qin 2014-01-23 01:35:13 +00:00
parent f9e66a412b
commit 4f046e08ff
2 changed files with 5 additions and 5 deletions

View File

@ -4154,8 +4154,8 @@ AArch64TargetLowering::isFMAFasterThanFMulAndFAdd(EVT VT) const {
return false;
}
// Check whether a shuffle_vecotor could be presented as conact_vector.
bool AArch64TargetLowering::isConactVector(SDValue Op,SelectionDAG &DAG,
// Check whether a shuffle_vector could be presented as concat_vector.
bool AArch64TargetLowering::isConcatVector(SDValue Op,SelectionDAG &DAG,
SDValue V0, SDValue V1,
const int* Mask,
SDValue &Res) const {
@ -4465,7 +4465,7 @@ AArch64TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG,
return LowerVECTOR_SHUFFLE(Shuffle, DAG);
} else {
SDValue Res;
if(isConactVector(Op, DAG, V0, V1, Mask, Res))
if(isConcatVector(Op, DAG, V0, V1, Mask, Res))
return Res;
}
}
@ -4655,7 +4655,7 @@ AArch64TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op,
}
SDValue Res;
if (isConactVector(Op, DAG, V1, V2, &ShuffleMask[0], Res))
if (isConcatVector(Op, DAG, V1, V2, &ShuffleMask[0], Res))
return Res;
// If the element of shuffle mask are all the same constant, we can

View File

@ -232,7 +232,7 @@ public:
SDLoc dl, SelectionDAG &DAG,
SmallVectorImpl<SDValue> &InVals) const;
bool isConactVector(SDValue Op,SelectionDAG &DAG, SDValue V0, SDValue V1,
bool isConcatVector(SDValue Op,SelectionDAG &DAG, SDValue V0, SDValue V1,
const int* Mask, SDValue &Res) const;
bool isKnownShuffleVector(SDValue Op, SelectionDAG &DAG, SDValue &V0,