summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMCodeEmitter.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-06 00:04:58 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-04-06 00:04:58 +0000
commitf16936e5923156863906c915de657b134db4fb16 (patch)
treee215f427e30fed049e3db8ae196356bca3eed70f /lib/Target/ARM/ARMCodeEmitter.cpp
parent3ef737608ab005f320c2e20fcb3b914c677616ed (diff)
downloadllvm-f16936e5923156863906c915de657b134db4fb16.tar.gz
llvm-f16936e5923156863906c915de657b134db4fb16.tar.bz2
llvm-f16936e5923156863906c915de657b134db4fb16.tar.xz
Deduplicate ARM call-related instructions.
We had special instructions for iOS because r9 is call-clobbered, but that is represented dynamically by the register mask operands now, so there is no need for the pseudo-instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r--lib/Target/ARM/ARMCodeEmitter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp
index e1e62e6de3..32ef345c05 100644
--- a/lib/Target/ARM/ARMCodeEmitter.cpp
+++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -836,9 +836,7 @@ void ARMCodeEmitter::emitPseudoInstruction(const MachineInstr &MI) {
default:
llvm_unreachable("ARMCodeEmitter::emitPseudoInstruction");
case ARM::BX_CALL:
- case ARM::BMOVPCRX_CALL:
- case ARM::BXr9_CALL:
- case ARM::BMOVPCRXr9_CALL: {
+ case ARM::BMOVPCRX_CALL: {
// First emit mov lr, pc
unsigned Binary = 0x01a0e00f;
Binary |= II->getPredicate(&MI) << ARMII::CondShift;