From: Matthias Braun Date: Fri, 20 Jan 2017 18:30:28 +0000 (+0000) Subject: ARM: tLDR_postidx should be marked mayLoad X-Git-Tag: llvmorg-5.0.0-rc1~14867 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=856548a616a56fc716a87035198151b3c14fee36;p=platform%2Fupstream%2Fllvm.git ARM: tLDR_postidx should be marked mayLoad This fixes -verify-machineinstrs complaints. llvm-svn: 292629 --- diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index a681f64..b0bfae4 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),