aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-18 23:58:08 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-18 23:58:08 +0000
commit0fd8dc809975e6ac13fec7d2459d8d387e05a1fa (patch)
tree3549e24e2984e06f599d17eb0280cd8bdad0d0ab
parentad5b62012c89177ecb3cb756b4a177bf4b2912b4 (diff)
downloadexternal_llvm-0fd8dc809975e6ac13fec7d2459d8d387e05a1fa.zip
external_llvm-0fd8dc809975e6ac13fec7d2459d8d387e05a1fa.tar.gz
external_llvm-0fd8dc809975e6ac13fec7d2459d8d387e05a1fa.tar.bz2
no major change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/RegAlloc/PhyRegAlloc.cpp6
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp6
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index acf6585..4b6a0f9 100644
--- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -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) {
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
index acf6585..4b6a0f9 100644
--- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
+++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
@@ -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) {