summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-24 18:04:27 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-24 18:04:27 +0000
commita281f2d07dc73ee65594b7c214d18ec277ebc236 (patch)
tree564b8f19e02dbf22b8f20d47b2bfbaecc05a4078 /llvm/lib/Target
parent65a6a6bea4b46b4006df6ad3b22aa1fb95477457 (diff)
downloadbcm5719-llvm-a281f2d07dc73ee65594b7c214d18ec277ebc236.tar.gz
bcm5719-llvm-a281f2d07dc73ee65594b7c214d18ec277ebc236.zip
Thumb add SP assembly syntax fix.
llvm-svn: 138448
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index 4d3bd079a83..3b2f0287106 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb.td
@@ -338,8 +338,8 @@ def tSUBspi : T1pIt<(outs GPRsp:$Rdn), (ins GPRsp:$Rn, t_imm_s4:$rhs),
}
// ADD <Rm>, sp
-def tADDrSP : T1pIt<(outs GPR:$Rdn), (ins GPR:$Rn, GPRsp:$rhs), IIC_iALUr,
- "add", "\t$Rdn, $rhs", []>,
+def tADDrSP : T1pIt<(outs GPR:$Rdn), (ins GPR:$Rn, GPRsp:$sp), IIC_iALUr,
+ "add", "\t$Rdn, $sp, $Rn", []>,
T1Special<{0,0,?,?}> {
// A8.6.9 Encoding T1
bits<4> Rdn;
OpenPOWER on IntegriCloud