Print argument scalars as ellipses instead of boxes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2293 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/NodeImpl.cpp b/lib/Analysis/DataStructure/NodeImpl.cpp
index 66bd889..46c12e3 100644
--- a/lib/Analysis/DataStructure/NodeImpl.cpp
+++ b/lib/Analysis/DataStructure/NodeImpl.cpp
@@ -328,7 +328,8 @@
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<Argument>(I->first) ? "ellipse" : "box") << "\", label=\""
<< escapeLabel(OS.str()) << "\\n%" << escapeLabel(I->first->getName())
<< "\",fontsize=\"12.0\",color=\"gray70\"];\n";