mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Add a machine code print in DEBUG() following instruction selection.
Make debugging ISel a bit easier by printing out a dump of the generated code at the end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -566,6 +566,9 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
// at this point.
|
// at this point.
|
||||||
FuncInfo->clear();
|
FuncInfo->clear();
|
||||||
|
|
||||||
|
DEBUG(dbgs() << "*** MachineFunction at end of ISel ***\n");
|
||||||
|
DEBUG(MF->print(dbgs()));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user