projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b674c0
)
[AArch64] The paired post-increment store instruction has an output register.
author
Chad Rosier
<mcrosier@codeaurora.org>
Thu, 24 Sep 2015 19:21:42 +0000
(19:21 +0000)
committer
Chad Rosier
<mcrosier@codeaurora.org>
Thu, 24 Sep 2015 19:21:42 +0000
(19:21 +0000)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248528
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/AArch64/AArch64InstrFormats.td
patch
|
blob
|
history
diff --git
a/lib/Target/AArch64/AArch64InstrFormats.td
b/lib/Target/AArch64/AArch64InstrFormats.td
index d644f264eb91033d7de7a186351da28fcf007d9a..39310cb508410a30c4ffdf5fdd184099402e64c4 100644
(file)
--- a/
lib/Target/AArch64/AArch64InstrFormats.td
+++ b/
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]>;