mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-28 23:43:25 +00:00
[AArch64] Add MMOs to unscaled pairs.
Test to be committed in follow up commit, per discussion in D17097. http://reviews.llvm.org/D17097 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94c032fe90
commit
3d1145193c
@ -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
Block a user