mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
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
24b2c89cdf
commit
2e0edf0617
@ -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
Block a user