mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +00:00
Update CodeGen for MRegisterInfo --> TargetInstrInfo changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -709,8 +709,8 @@ bool LiveIntervals::tryFoldMemoryOperand(MachineInstr* &MI,
|
||||
FoldOps.push_back(OpIdx);
|
||||
}
|
||||
|
||||
MachineInstr *fmi = isSS ? mri_->foldMemoryOperand(MI, FoldOps, Slot)
|
||||
: mri_->foldMemoryOperand(MI, FoldOps, DefMI);
|
||||
MachineInstr *fmi = isSS ? tii_->foldMemoryOperand(MI, FoldOps, Slot)
|
||||
: tii_->foldMemoryOperand(MI, FoldOps, DefMI);
|
||||
if (fmi) {
|
||||
// Attempt to fold the memory reference into the instruction. If
|
||||
// we can do this, we don't need to insert spill code.
|
||||
@ -746,7 +746,7 @@ bool LiveIntervals::canFoldMemoryOperand(MachineInstr *MI,
|
||||
FoldOps.push_back(OpIdx);
|
||||
}
|
||||
|
||||
return mri_->canFoldMemoryOperand(MI, FoldOps);
|
||||
return tii_->canFoldMemoryOperand(MI, FoldOps);
|
||||
}
|
||||
|
||||
bool LiveIntervals::intervalIsInOneMBB(const LiveInterval &li) const {
|
||||
|
Reference in New Issue
Block a user