diff options
| author | Matthias Braun <matze@braunis.de> | 2017-01-20 18:30:28 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-01-20 18:30:28 +0000 |
| commit | 856548a616a56fc716a87035198151b3c14fee36 (patch) | |
| tree | b29481a98b37eab275f48c88966bdb734d3a87ac /llvm/lib/Target/ARM | |
| parent | 338def1506c6f33a72ae07f5379d40de967d2bd4 (diff) | |
| download | bcm5719-llvm-856548a616a56fc716a87035198151b3c14fee36.tar.gz bcm5719-llvm-856548a616a56fc716a87035198151b3c14fee36.zip | |
ARM: tLDR_postidx should be marked mayLoad
This fixes -verify-machineinstrs complaints.
llvm-svn: 292629
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index a681f64b05e..b0bfae4d304 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/lib/Target/ARM/ARMInstrThumb.td @@ -1477,7 +1477,7 @@ def : T1Pat<(extloadi16 t_addrmode_rr:$addr), (tLDRHr t_addrmode_rr:$addr)>; // post-inc LDR -> LDM r0!, {r1}. The way operands are layed out in LDMs is // different to how ISel expects them for a post-inc load, so use a pseudo // and expand it just after ISel. -let usesCustomInserter = 1, +let usesCustomInserter = 1, mayLoad =1, Constraints = "$Rn = $Rn_wb,@earlyclobber $Rn_wb" in def tLDR_postidx: tPseudoInst<(outs rGPR:$Rt, rGPR:$Rn_wb), (ins rGPR:$Rn, pred:$p), |

