diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:43:33 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-10 19:43:33 +0000 |
commit | 51bda6fccbbea7b88ecf6a69c567085fd64eeb5f (patch) | |
tree | 29bdd6fe93ca88417e08eb52c8ae169d4abf31b8 /lib/Target/SparcV9/RegAlloc | |
parent | 3bf089227bb8470310481c21a3327146963714e5 (diff) | |
download | external_llvm-51bda6fccbbea7b88ecf6a69c567085fd64eeb5f.zip external_llvm-51bda6fccbbea7b88ecf6a69c567085fd64eeb5f.tar.gz external_llvm-51bda6fccbbea7b88ecf6a69c567085fd64eeb5f.tar.bz2 |
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
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp index b9d61b6..b246e60 100644 --- a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp +++ b/lib/Target/SparcV9/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 << ") "; } |