From: Kevin Qin Date: Thu, 23 Jan 2014 01:35:13 +0000 (+0000) Subject: fix some spell mistakes around 'ConcatVector' and 'ShuffleVector' in AArch64 backend. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4f046e08ffeb10be89292ce2a1bd36d66dacb2a4;p=oota-llvm.git 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 --- diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 4aae9e59e2a..a794fcdc1f3 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -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 diff --git a/lib/Target/AArch64/AArch64ISelLowering.h b/lib/Target/AArch64/AArch64ISelLowering.h index 8baf992a2bd..8961d9c1415 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.h +++ b/lib/Target/AArch64/AArch64ISelLowering.h @@ -232,7 +232,7 @@ public: SDLoc dl, SelectionDAG &DAG, SmallVectorImpl &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,