summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2015-09-24 19:21:42 +0000
committerChad Rosier <mcrosier@codeaurora.org>2015-09-24 19:21:42 +0000
commit7cd472b719f396740706e1eed99e2806d19bf2e3 (patch)
tree43b8de49dca161a7716e184ddf7679082c6fb265 /llvm/lib
parent9303c246506dc7048f8de21a59082d1083f23869 (diff)
downloadbcm5719-llvm-7cd472b719f396740706e1eed99e2806d19bf2e3.tar.gz
bcm5719-llvm-7cd472b719f396740706e1eed99e2806d19bf2e3.zip
[AArch64] The paired post-increment store instruction has an output register.
The pre- and post-increment version update the base register, but the post- version was defined incorrectly. There is no test case as we don't currently generate these instructions, but I plan on changing that in the near future. llvm-svn: 248528
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrFormats.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrFormats.td b/llvm/lib/Target/AArch64/AArch64InstrFormats.td
index d644f264eb9..39310cb5084 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrFormats.td
+++ b/llvm/lib/Target/AArch64/AArch64InstrFormats.td
@@ -3253,8 +3253,8 @@ class LoadPairPostIdx<bits<2> opc, bit V, RegisterClass regtype,
let mayStore = 1, mayLoad = 0 in
class StorePairPostIdx<bits<2> opc, bit V, RegisterClass regtype,
Operand idxtype, string asm>
- : BaseLoadStorePairPostIdx<opc, V, 0, (outs),
- (ins GPR64sp:$wback, regtype:$Rt, regtype:$Rt2,
+ : BaseLoadStorePairPostIdx<opc, V, 0, (outs GPR64sp:$wback),
+ (ins regtype:$Rt, regtype:$Rt2,
GPR64sp:$Rn, idxtype:$offset),
asm>,
Sched<[WriteAdr, WriteSTP]>;
OpenPOWER on IntegriCloud