diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-08 20:32:21 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-08 20:32:21 +0000 |
commit | 4af8647e17c4beb8ef6f39bf9b22fb00a512cd1e (patch) | |
tree | 18722b15234ae4204f407f00adb3eac4be2f51a9 /llvm/lib/Target/ARM/ARMAsmPrinter.cpp | |
parent | 65cc1074f38a78ffd503cc26c2b744f3b5d74484 (diff) | |
download | bcm5719-llvm-4af8647e17c4beb8ef6f39bf9b22fb00a512cd1e.tar.gz bcm5719-llvm-4af8647e17c4beb8ef6f39bf9b22fb00a512cd1e.zip |
Use tPseudoExpand for tTAILJMPd and tTAILJMPdND.
llvm-svn: 134732
Diffstat (limited to 'llvm/lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp index 191fa1f35f2..3a891c48c8c 100644 --- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp @@ -1801,18 +1801,6 @@ void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) { } // Tail jump branches are really just branch instructions with additional // code-gen attributes. Convert them to the canonical form here. - case ARM::tTAILJMPd: - case ARM::tTAILJMPdND: { - MCInst TmpInst, TmpInst2; - LowerARMMachineInstrToMCInst(MI, TmpInst2, *this); - // The Darwin toolchain doesn't support tail call relocations of 16-bit - // branches. - TmpInst.setOpcode(Opc == ARM::tTAILJMPd ? ARM::t2B : ARM::tB); - TmpInst.addOperand(TmpInst2.getOperand(0)); - OutStreamer.AddComment("TAILCALL"); - OutStreamer.EmitInstruction(TmpInst); - return; - } case ARM::tTAILJMPrND: case ARM::tTAILJMPr: { MCInst TmpInst; |