[llvm] r199858 - fix some spell mistakes around 'ConcatVector' and 'ShuffleVector' in AArch64 backend.
Kevin Qin
Kevin.Qin at arm.com
Wed Jan 22 17:35:14 PST 2014
Author: kevinqin
Date: Wed Jan 22 19:35:13 2014
New Revision: 199858
URL: http://llvm.org/viewvc/llvm-project?rev=199858&view=rev
Log:
fix some spell mistakes around 'ConcatVector' and 'ShuffleVector' in AArch64 backend.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp?rev=199858&r1=199857&r2=199858&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.cpp Wed Jan 22 19:35:13 2014
@@ -4154,8 +4154,8 @@ AArch64TargetLowering::isFMAFasterThanFM
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
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_SHUFF
}
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
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h?rev=199858&r1=199857&r2=199858&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelLowering.h Wed Jan 22 19:35:13 2014
@@ -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,
More information about the llvm-commits
mailing list