aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-09-15 19:06:58 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-09-15 19:06:58 +0000
commit0931a01f57c2ebcf7a35b5d2f1a6971822336f3b (patch)
treedf112a3e8548457651246b8ab16f7005b78948d0 /lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
parent4d0d6329274771168be50a77da57a892a86ea45b (diff)
fixed printing messages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/LiveRangeInfo.cpp')
-rw-r--r--lib/CodeGen/RegAlloc/LiveRangeInfo.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
index 5ef350207b..64cac9bd3b 100644
--- a/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
+++ b/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -120,8 +120,10 @@ void LiveRangeInfo::constructLiveRanges()
OpI.getMachineOperand().getVRegValue(), isCC );
- if(isCC )
- cout << "\a" << "**created a LR for a CC reg**" << cout;
+ if(isCC ) {
+ cout << "\a**created a LR for a CC reg:";
+ printValue( OpI.getMachineOperand().getVRegValue() );
+ }
DefRange->setRegClass( RegClassList[ rcid ] );