projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0c25bd
)
Add a machine code print in DEBUG() following instruction selection.
author
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Dec 2013 02:01:10 +0000
(
02:01
+0000)
committer
Jim Grosbach
<grosbach@apple.com>
Tue, 17 Dec 2013 02:01:10 +0000
(
02:01
+0000)
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
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 506b7380515d499859b3a37b14d1d6387abad0a6..2697a0cc9cae328484f2049134838aabe34c66ef 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-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;
}