forked from OSchip/llvm-project
[AArch64] Add MMOs to unscaled pairs.
Test to be committed in follow up commit, per discussion in D17097. http://reviews.llvm.org/D17097 llvm-svn: 262942
This commit is contained in:
parent
0650192094
commit
e40b9513a9
|
@ -888,9 +888,8 @@ AArch64LoadStoreOpt::mergePairedInsns(MachineBasicBlock::iterator I,
|
|||
.addOperand(getLdStRegOp(RtMI))
|
||||
.addOperand(getLdStRegOp(Rt2MI))
|
||||
.addOperand(BaseRegOp)
|
||||
.addImm(OffsetImm);
|
||||
// FIXME: Copy the mem operands from the source instructions. The MI scheduler
|
||||
// needs these to reason about loads/stores.
|
||||
.addImm(OffsetImm)
|
||||
.setMemRefs(I->mergeMemRefsWith(*Paired));
|
||||
|
||||
(void)MIB;
|
||||
|
||||
|
|
Loading…
Reference in New Issue