mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +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:
parent
e0c25bd05d
commit
26b52a78dc
@ -566,6 +566,9 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
|
||||
// at this point.
|
||||
FuncInfo->clear();
|
||||
|
||||
DEBUG(dbgs() << "*** MachineFunction at end of ISel ***\n");
|
||||
DEBUG(MF->print(dbgs()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user