forked from OSchip/llvm-project
Change DOTGraphTraits<ScheduleDAG*>::getGraphName how to find the name of
the current function on its own, rather than relying on the SelectionDAG. llvm-svn: 59277
This commit is contained in:
parent
059dc8d32a
commit
a2cbbaa41f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue