no major change
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 18 Oct 2001 23:58:08 +0000 (23:58 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 18 Oct 2001 23:58:08 +0000 (23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index acf6585779eaa8c4e79b1b292ca0cf973cd8152e..4b6a0f9650571ff8fc4848b6b6c6d3cd24819d4f 100644 (file)
@@ -128,8 +128,10 @@ void PhyRegAlloc::addInterference(const Value *const Def,
       //the live range of this var interferes with this call
       if( isCallInst ) {
        LROfVar->addCallInterference( (const Instruction *const) Def );   
-       // cout << "\n ++Added Call Interf to set:";
-       //LROfVar->printSet();
+       if( DEBUG_RA) {
+         cout << "\n ++Added Call Interf to set:";
+         LROfVar->printSet();
+       }
       }
     }
     else if(DEBUG_RA > 1)  { 
index acf6585779eaa8c4e79b1b292ca0cf973cd8152e..4b6a0f9650571ff8fc4848b6b6c6d3cd24819d4f 100644 (file)
@@ -128,8 +128,10 @@ void PhyRegAlloc::addInterference(const Value *const Def,
       //the live range of this var interferes with this call
       if( isCallInst ) {
        LROfVar->addCallInterference( (const Instruction *const) Def );   
-       // cout << "\n ++Added Call Interf to set:";
-       //LROfVar->printSet();
+       if( DEBUG_RA) {
+         cout << "\n ++Added Call Interf to set:";
+         LROfVar->printSet();
+       }
       }
     }
     else if(DEBUG_RA > 1)  {