From 51bda6fccbbea7b88ecf6a69c567085fd64eeb5f Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Thu, 10 Jul 2003 19:43:33 +0000 Subject: Print out all neighbors in interference graph, not just higher-numbered ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7153 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/InterferenceGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/RegAlloc/InterferenceGraph.cpp') diff --git a/lib/CodeGen/RegAlloc/InterferenceGraph.cpp b/lib/CodeGen/RegAlloc/InterferenceGraph.cpp index b9d61b6ad0..b246e60539 100644 --- a/lib/CodeGen/RegAlloc/InterferenceGraph.cpp +++ b/lib/CodeGen/RegAlloc/InterferenceGraph.cpp @@ -224,7 +224,7 @@ void InterferenceGraph::printIG() const if(Node) { cerr << " [" << i << "] "; - for( unsigned int j=0; j < i; j++) { + for( unsigned int j=0; j < Size; j++) { if(IG[i][j]) cerr << "(" << i << "," << j << ") "; } -- cgit v1.2.3-18-g5258