diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-01-28 06:48:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-01-28 06:48:25 +0000 |
commit | 4aee1bb2223e59efb814a694edaecd07a3418da0 (patch) | |
tree | 821e01df9d27ffb3ad93a3a24905f3edc63328f2 /lib/Target/X86/Utils/X86ShuffleDecode.cpp | |
parent | 64437ead05db4f5d28e697058180ae575c3cf75b (diff) |
Fix inconsistent usage of PALIGN and PALIGNR when referring to the same instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Utils/X86ShuffleDecode.cpp')
-rw-r--r-- | lib/Target/X86/Utils/X86ShuffleDecode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/Utils/X86ShuffleDecode.cpp b/lib/Target/X86/Utils/X86ShuffleDecode.cpp index 9694808e64..b490f27025 100644 --- a/lib/Target/X86/Utils/X86ShuffleDecode.cpp +++ b/lib/Target/X86/Utils/X86ShuffleDecode.cpp @@ -61,7 +61,8 @@ void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { ShuffleMask.push_back(NElts+i); } -void DecodePALIGNMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { +void DecodePALIGNRMask(MVT VT, unsigned Imm, + SmallVectorImpl<int> &ShuffleMask) { unsigned NumElts = VT.getVectorNumElements(); unsigned Offset = Imm * (VT.getVectorElementType().getSizeInBits() / 8); |