forked from OSchip/llvm-project
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. llvm-svn: 197456
This commit is contained in:
parent
2dea15b53c
commit
ea2db453dd
llvm/lib/CodeGen/SelectionDAG
|
@ -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…
Reference in New Issue