diff --git a/lib/Analysis/DataStructure/NodeImpl.cpp b/lib/Analysis/DataStructure/NodeImpl.cpp index 66bd8898b1c..46c12e3b8ac 100644 --- a/lib/Analysis/DataStructure/NodeImpl.cpp +++ b/lib/Analysis/DataStructure/NodeImpl.cpp @@ -328,7 +328,8 @@ void FunctionDSGraph::printFunction(std::ostream &O, WriteTypeSymbolic(OS, I->first->getType(), Func->getParent()); // Create node for I->first - O << "\t\tNode" << (void*)I->first << Label << " [shape=\"box\", label=\"" + O << "\t\tNode" << (void*)I->first << Label << " [shape=\"" + << (isa(I->first) ? "ellipse" : "box") << "\", label=\"" << escapeLabel(OS.str()) << "\\n%" << escapeLabel(I->first->getName()) << "\",fontsize=\"12.0\",color=\"gray70\"];\n";