summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-18 22:38:52 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-10-18 22:38:52 +0000
commit5f629318fa7da04a2594658e9ba3c01b62463e2b (patch)
treee0ae5f2148e974e2beb580f6e6a118292c47ce4c /llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
parent0a2990a7c6282429af973e9c539b9991869dfbc9 (diff)
downloadbcm5719-llvm-5f629318fa7da04a2594658e9ba3c01b62463e2b.tar.gz
bcm5719-llvm-5f629318fa7da04a2594658e9ba3c01b62463e2b.zip
Added support for condition code loading/stroing in methods cpReg2Reg etc.
llvm-svn: 911
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcRegClassInfo.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcRegClassInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcRegClassInfo.cpp b/llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
index ff01f355edc..3ff0779b588 100644
--- a/llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
+++ b/llvm/lib/Target/Sparc/SparcRegClassInfo.cpp
@@ -42,7 +42,7 @@ void SparcIntRegClass::colorIGNode(IGNode * Node, bool IsColorUsedArr[]) const
LR->setColor( LR->getSuggestedColor() );
return;
}
- else { // can't allocate the suggested col
+ else if ( DEBUG_RA ) { // can't allocate the suggested col
cerr << " Could NOT allocate the suggested color for LR ";
LR->printSet(); cerr << endl;
}
@@ -192,7 +192,7 @@ void SparcFloatRegClass::colorIGNode(IGNode * Node,bool IsColorUsedArr[]) const
LR->setColor( LR->getSuggestedColor() );
return;
}
- else { // can't allocate the suggested col
+ else if (DEBUG_RA) { // can't allocate the suggested col
cerr << " Could NOT allocate the suggested color for LR ";
LR->printSet(); cerr << endl;
}
OpenPOWER on IntegriCloud