Fix pasto that prevented VT ndoes from showing up in -view-isel-dags correctly
authorChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 18:30:00 +0000 (18:30 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 18:30:00 +0000 (18:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23021 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp

index 060102c8fcaf0747fd65993659a880dab7f0a1bc..bb0524db69d36402c9d43d8747b359fea7f36b85 100644 (file)
@@ -89,7 +89,7 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
     else
       Op += "<null:" + itostr(M->getOffset()) + ">";
   } else if (const VTSDNode *N = dyn_cast<VTSDNode>(Node)) {
-    std::cerr << ":" << getValueTypeString(N->getVT());
+    Op = Op + " VT=" + getValueTypeString(N->getVT());
   }
   return Op;
 }