diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-10-16 06:38:10 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-10-16 06:38:10 +0000 |
commit | daada347b550353acbd94fa863bb810854ab6b7b (patch) | |
tree | 98a5d2255e98371a11d43de544c12539ab0def07 /lib/Target/ARM/ARMInstrThumb2.td | |
parent | d575137634377b0aa9f59d3ecb7c82eb2088033c (diff) | |
download | llvm-daada347b550353acbd94fa863bb810854ab6b7b.tar.gz llvm-daada347b550353acbd94fa863bb810854ab6b7b.tar.bz2 llvm-daada347b550353acbd94fa863bb810854ab6b7b.tar.xz |
Add flags on Thumb2 indexed stores paralleling the flags on the indexed loads.
These missing flags show up as errors when running -verify-coalescing on
test-suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142111 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index eaf419db99..361c6f09ff 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -1321,6 +1321,8 @@ def t2STRDi8 : T2Ii8s4<1, 0, 0, (outs), IIC_iStore_d_r, "strd", "\t$Rt, $Rt2, $addr", "", []>; // Indexed stores + +let mayStore = 1, neverHasSideEffects = 1 in { def t2STR_PRE : T2Ipreldst<0, 0b10, 0, 1, (outs GPRnopc:$Rn_wb), (ins rGPR:$Rt, t2addrmode_imm8:$addr), AddrModeT2_i8, IndexModePre, IIC_iStore_iu, @@ -1397,7 +1399,7 @@ def t2STRH_preidx: t2PseudoInst<(outs GPRnopc:$Rn_wb), [(set GPRnopc:$Rn_wb, (pre_truncsti16 rGPR:$Rt, GPRnopc:$Rn, t2am_imm8_offset:$offset))]>; } - +} // mayStore = 1, neverHasSideEffects = 1 // STRT, STRBT, STRHT all have offset mode (PUW=0b110) and are for disassembly // only. |