mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Dump LIS before regalloc. MI sched changes them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187107 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27ce44d3b4
commit
5dca613978
@ -204,7 +204,7 @@ bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
const TargetInstrInfo *TII = MF->getTarget().getInstrInfo();
|
const TargetInstrInfo *TII = MF->getTarget().getInstrInfo();
|
||||||
|
|
||||||
if (VerifyScheduling) {
|
if (VerifyScheduling) {
|
||||||
DEBUG(LIS->print(dbgs()));
|
DEBUG(LIS->dump());
|
||||||
MF->verify(this, "Before machine scheduling.");
|
MF->verify(this, "Before machine scheduling.");
|
||||||
}
|
}
|
||||||
RegClassInfo->runOnMachineFunction(*MF);
|
RegClassInfo->runOnMachineFunction(*MF);
|
||||||
@ -294,7 +294,7 @@ bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
Scheduler->finishBlock();
|
Scheduler->finishBlock();
|
||||||
}
|
}
|
||||||
Scheduler->finalizeSchedule();
|
Scheduler->finalizeSchedule();
|
||||||
DEBUG(LIS->print(dbgs()));
|
DEBUG(LIS->dump());
|
||||||
if (VerifyScheduling)
|
if (VerifyScheduling)
|
||||||
MF->verify(this, "After machine scheduling.");
|
MF->verify(this, "After machine scheduling.");
|
||||||
return true;
|
return true;
|
||||||
|
@ -1786,6 +1786,8 @@ bool RAGreedy::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
SpillPlacer = &getAnalysis<SpillPlacement>();
|
SpillPlacer = &getAnalysis<SpillPlacement>();
|
||||||
DebugVars = &getAnalysis<LiveDebugVariables>();
|
DebugVars = &getAnalysis<LiveDebugVariables>();
|
||||||
|
|
||||||
|
DEBUG(LIS->dump());
|
||||||
|
|
||||||
SA.reset(new SplitAnalysis(*VRM, *LIS, *Loops));
|
SA.reset(new SplitAnalysis(*VRM, *LIS, *Loops));
|
||||||
SE.reset(new SplitEditor(*SA, *LIS, *VRM, *DomTree, *MBFI));
|
SE.reset(new SplitEditor(*SA, *LIS, *VRM, *DomTree, *MBFI));
|
||||||
ExtraRegInfo.clear();
|
ExtraRegInfo.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user