[llvm-commits] CVS: llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp

Vikram Adve vadve at cs.uiuc.edu
Thu Jul 10 14:44:01 PDT 2003


Changes in directory llvm/lib/CodeGen/RegAlloc:

InterferenceGraph.cpp updated: 1.14 -> 1.15

---
Log message:

Print out all neighbors in interference graph, not just higher-numbered ones.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp
diff -u llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp:1.14 llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp:1.15
--- llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp:1.14	Wed Jan 15 15:00:02 2003
+++ llvm/lib/CodeGen/RegAlloc/InterferenceGraph.cpp	Thu Jul 10 14:43:33 2003
@@ -224,7 +224,7 @@
     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 << ") ";
       }





More information about the llvm-commits mailing list