When printing DS nodes, print the mergemap index as well to allow easier
authorChris Lattner <sabre@nondot.org>
Wed, 2 Oct 2002 05:17:55 +0000 (05:17 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 2 Oct 2002 05:17:55 +0000 (05:17 +0000)
debugging of merging process.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4010 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Printer.cpp

index f6c36e42c2da9d2b5e00195d454b506b7510ca75..528652b5fd88d315713670d5ad0d0d06dddc2523 100644 (file)
@@ -100,7 +100,7 @@ void DSNode::print(std::ostream &O, const DSGraph *G) const {
     O << "|{";
     for (unsigned i = 0; i < getSize(); ++i) {
       if (i) O << "|";
-      O << "<g" << i << ">";
+      O << "<g" << i << ">" << (int)MergeMap[i];
     }
     O << "}";
   }