mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
MachineInstr: Remove unused parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -196,7 +196,7 @@ bool LiveRangeEdit::foldAsLoad(LiveInterval *LI,
|
||||
// We also need to make sure it is safe to move the load.
|
||||
// Assume there are stores between DefMI and UseMI.
|
||||
bool SawStore = true;
|
||||
if (!DefMI->isSafeToMove(&TII, nullptr, SawStore))
|
||||
if (!DefMI->isSafeToMove(nullptr, SawStore))
|
||||
return false;
|
||||
|
||||
DEBUG(dbgs() << "Try to fold single def: " << *DefMI
|
||||
@ -235,7 +235,7 @@ void LiveRangeEdit::eliminateDeadDef(MachineInstr *MI, ToShrinkSet &ToShrink) {
|
||||
|
||||
// Use the same criteria as DeadMachineInstructionElim.
|
||||
bool SawStore = false;
|
||||
if (!MI->isSafeToMove(&TII, nullptr, SawStore)) {
|
||||
if (!MI->isSafeToMove(nullptr, SawStore)) {
|
||||
DEBUG(dbgs() << "Can't delete: " << Idx << '\t' << *MI);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user