summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMInstrInfo.td
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-10-14 20:43:44 +0000
committerJim Grosbach <grosbach@apple.com>2010-10-14 20:43:44 +0000
commit062749cb25c7e69dac4733247ebd9c2e3ca0e60e (patch)
treedad874ac0ebfe6bd0e28f40ce1878238f7341819 /llvm/lib/Target/ARM/ARMInstrInfo.td
parent0afa7f66cd98b93990f52fe93938a44e29cba310 (diff)
downloadbcm5719-llvm-062749cb25c7e69dac4733247ebd9c2e3ca0e60e.tar.gz
bcm5719-llvm-062749cb25c7e69dac4733247ebd9c2e3ca0e60e.zip
Tweak the ARM backend to use the RRX mnemonic instead of the 'mov a, b, rrx'
pseudonym. llvm-svn: 116512
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index 8fc5c3cb245..5a2070d8c89 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -1686,9 +1686,9 @@ def : ARMPat<(or GPR:$src, 0xffff0000), (MOVTi16 GPR:$src, 0xffff)>,
Requires<[IsARM, HasV6T2]>;
let Uses = [CPSR] in
-def MOVrx : AsI1<0b1101, (outs GPR:$dst), (ins GPR:$src), Pseudo, IIC_iMOVsi,
- "mov", "\t$dst, $src, rrx",
- [(set GPR:$dst, (ARMrrx GPR:$src))]>, UnaryDP;
+def RRX: AsI1<0b1101, (outs GPR:$Rd), (ins GPR:$Rm), Pseudo, IIC_iMOVsi,
+ "rrx", "\t$Rd, $Rm",
+ [(set GPR:$Rd, (ARMrrx GPR:$Rm))]>, UnaryDP;
// These aren't really mov instructions, but we have to define them this way
// due to flag operands.
OpenPOWER on IntegriCloud