mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-11 08:29:25 +00:00
Add instruction dump output. This helps find bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -250,10 +250,16 @@ namespace {
|
|||||||
TII = MF.getTarget().getInstrInfo();
|
TII = MF.getTarget().getInstrInfo();
|
||||||
DOUT << "\n**** Local spiller rewriting function '"
|
DOUT << "\n**** Local spiller rewriting function '"
|
||||||
<< MF.getFunction()->getName() << "':\n";
|
<< MF.getFunction()->getName() << "':\n";
|
||||||
|
DOUT << "**** Machine Instrs (NOTE! Does not include spills and reloads!) ****\n";
|
||||||
|
DEBUG(MF.dump());
|
||||||
|
|
||||||
for (MachineFunction::iterator MBB = MF.begin(), E = MF.end();
|
for (MachineFunction::iterator MBB = MF.begin(), E = MF.end();
|
||||||
MBB != E; ++MBB)
|
MBB != E; ++MBB)
|
||||||
RewriteMBB(*MBB, VRM);
|
RewriteMBB(*MBB, VRM);
|
||||||
|
|
||||||
|
DOUT << "**** Post Machine Instrs ****\n";
|
||||||
|
DEBUG(MF.dump());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user