Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit cfdef7c

Browse files
committed
ARM: tLDR_postidx should be marked mayLoad
This fixes -verify-machineinstrs complaints. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292629 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 116ba1a commit cfdef7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/ARM/ARMInstrThumb.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ def : T1Pat<(extloadi16 t_addrmode_rr:$addr), (tLDRHr t_addrmode_rr:$addr)>;
14771477
// post-inc LDR -> LDM r0!, {r1}. The way operands are layed out in LDMs is
14781478
// different to how ISel expects them for a post-inc load, so use a pseudo
14791479
// and expand it just after ISel.
1480-
let usesCustomInserter = 1,
1480+
let usesCustomInserter = 1, mayLoad =1,
14811481
Constraints = "$Rn = $Rn_wb,@earlyclobber $Rn_wb" in
14821482
def tLDR_postidx: tPseudoInst<(outs rGPR:$Rt, rGPR:$Rn_wb),
14831483
(ins rGPR:$Rn, pred:$p),

0 commit comments

Comments
 (0)