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/InstPrinter | |
parent | 64437ead05db4f5d28e697058180ae575c3cf75b (diff) | |
download | external_llvm-4aee1bb2223e59efb814a694edaecd07a3418da0.zip external_llvm-4aee1bb2223e59efb814a694edaecd07a3418da0.tar.gz external_llvm-4aee1bb2223e59efb814a694edaecd07a3418da0.tar.bz2 |
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/InstPrinter')
-rw-r--r-- | lib/Target/X86/InstPrinter/X86InstComments.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/InstPrinter/X86InstComments.cpp b/lib/Target/X86/InstPrinter/X86InstComments.cpp index d8a45ea..43a8f0f 100644 --- a/lib/Target/X86/InstPrinter/X86InstComments.cpp +++ b/lib/Target/X86/InstPrinter/X86InstComments.cpp @@ -77,9 +77,9 @@ void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, case X86::VPALIGNR128rm: Src2Name = getRegName(MI->getOperand(1).getReg()); DestName = getRegName(MI->getOperand(0).getReg()); - DecodePALIGNMask(MVT::v16i8, - MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodePALIGNRMask(MVT::v16i8, + MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); break; case X86::VPALIGNR256rr: Src1Name = getRegName(MI->getOperand(2).getReg()); @@ -87,9 +87,9 @@ void llvm::EmitAnyX86InstComments(const MCInst *MI, raw_ostream &OS, case X86::VPALIGNR256rm: Src2Name = getRegName(MI->getOperand(1).getReg()); DestName = getRegName(MI->getOperand(0).getReg()); - DecodePALIGNMask(MVT::v32i8, - MI->getOperand(MI->getNumOperands()-1).getImm(), - ShuffleMask); + DecodePALIGNRMask(MVT::v32i8, + MI->getOperand(MI->getNumOperands()-1).getImm(), + ShuffleMask); case X86::PSHUFDri: case X86::VPSHUFDri: |