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:
ae78a88
)
Change DOTGraphTraits<ScheduleDAG*>::getGraphName how to find the name of
author
Dan Gohman
<gohman@apple.com>
Thu, 13 Nov 2008 23:45:55 +0000
(23:45 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 13 Nov 2008 23:45:55 +0000
(23:45 +0000)
the current function on its own, rather than relying on the SelectionDAG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59277
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index a356b6d471caf2d3227ef70c65d1f4b1906daab7..27746333e448dbef12cf6a576f51b8d74a06346b 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@
-387,7
+387,7
@@
namespace llvm {
template<>
struct DOTGraphTraits<ScheduleDAG*> : public DefaultDOTGraphTraits {
static std::string getGraphName(const ScheduleDAG *G) {
- return
DOTGraphTraits<SelectionDAG*>::getGraphName(G->DAG
);
+ return
G->MF->getFunction()->getName(
);
}
static bool renderGraphFromBottomUp() {