mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +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:
@@ -1683,8 +1683,7 @@ MachineBasicBlock::iterator findHoistingInsertPosAndDeps(MachineBasicBlock *MBB,
|
||||
// Also avoid moving code above predicated instruction since it's hard to
|
||||
// reason about register liveness with predicated instruction.
|
||||
bool DontMoveAcrossStore = true;
|
||||
if (!PI->isSafeToMove(TII, nullptr, DontMoveAcrossStore) ||
|
||||
TII->isPredicated(PI))
|
||||
if (!PI->isSafeToMove(nullptr, DontMoveAcrossStore) || TII->isPredicated(PI))
|
||||
return MBB->end();
|
||||
|
||||
|
||||
@@ -1822,7 +1821,7 @@ bool BranchFolder::HoistCommonCodeInSuccs(MachineBasicBlock *MBB) {
|
||||
break;
|
||||
|
||||
bool DontMoveAcrossStore = true;
|
||||
if (!TIB->isSafeToMove(TII, nullptr, DontMoveAcrossStore))
|
||||
if (!TIB->isSafeToMove(nullptr, DontMoveAcrossStore))
|
||||
break;
|
||||
|
||||
// Remove kills from LocalDefsSet, these registers had short live ranges.
|
||||
|
Reference in New Issue
Block a user