diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-10-14 20:43:44 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-10-14 20:43:44 +0000 |
commit | 792e9796b3dc068d4545e9f5ff927b02731e3836 (patch) | |
tree | 4cdd099c1ffb74e8d8c56440f09205d2fb4f0a8e /lib/Target/ARM/ARMCodeEmitter.cpp | |
parent | a872a0f5f800b352ab9af9d0f1e975ea0dead4ef (diff) | |
download | external_llvm-792e9796b3dc068d4545e9f5ff927b02731e3836.zip external_llvm-792e9796b3dc068d4545e9f5ff927b02731e3836.tar.gz external_llvm-792e9796b3dc068d4545e9f5ff927b02731e3836.tar.bz2 |
Tweak the ARM backend to use the RRX mnemonic instead of the 'mov a, b, rrx'
pseudonym.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMCodeEmitter.cpp')
-rw-r--r-- | lib/Target/ARM/ARMCodeEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index fa27a75..b5f534f 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp @@ -645,7 +645,7 @@ void ARMCodeEmitter::emitPseudoMoveInstruction(const MachineInstr &MI) { // Encode the shift operation. switch (Opcode) { default: break; - case ARM::MOVrx: + case ARM::RRX: // rrx Binary |= 0x6 << 4; break; @@ -748,7 +748,7 @@ void ARMCodeEmitter::emitPseudoInstruction(const MachineInstr &MI) { // Materialize jumptable address. emitLEApcrelJTInstruction(MI); break; - case ARM::MOVrx: + case ARM::RRX: case ARM::MOVsrl_flag: case ARM::MOVsra_flag: emitPseudoMoveInstruction(MI); |