diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-11-29 21:28:32 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-11-29 21:28:32 +0000 |
commit | d092a87ba3f905a6801a0bdf816267329cf0391c (patch) | |
tree | 9df8e6bb8207d45b73b59acaa5b345bd0c172491 /lib/Target/ARM/InstPrinter | |
parent | d2fe8e0acdd8076c5d6858a4c7e7b973c3feb420 (diff) | |
download | external_llvm-d092a87ba3f905a6801a0bdf816267329cf0391c.zip external_llvm-d092a87ba3f905a6801a0bdf816267329cf0391c.tar.gz external_llvm-d092a87ba3f905a6801a0bdf816267329cf0391c.tar.bz2 |
Rename t2 TBB and TBH instructions to reference that they encode the jump table
data. Next up, pseudo-izing them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index f865b14..4760131 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -531,7 +531,7 @@ void ARMInstPrinter::printThumbAddrModeSPOperand(const MCInst *MI, unsigned Op, void ARMInstPrinter::printTBAddrMode(const MCInst *MI, unsigned OpNum, raw_ostream &O) { O << "[pc, " << getRegisterName(MI->getOperand(OpNum).getReg()); - if (MI->getOpcode() == ARM::t2TBH) + if (MI->getOpcode() == ARM::t2TBH_JT) O << ", lsl #1"; O << ']'; } |