summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h2
-rw-r--r--llvm/lib/CodeGen/RegAlloc/RegClass.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 9c4d4508805..28e07122839 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
@@ -101,7 +101,7 @@ class LiveRange : public ValueSet
if(SuggestedColor == -1 )
SuggestedColor = Col;
else if (DEBUG_RA)
- cout << "Already has a suggested color " << Col << endl;
+ cerr << "Already has a suggested color " << Col << endl;
}
inline unsigned getSuggestedColor() const {
diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.h b/llvm/lib/CodeGen/RegAlloc/RegClass.h
index d08ed3a6594..9f5a46902ac 100644
--- a/llvm/lib/CodeGen/RegAlloc/RegClass.h
+++ b/llvm/lib/CodeGen/RegAlloc/RegClass.h
@@ -101,12 +101,12 @@ class RegClass
inline void printIGNodeList() const {
- cout << "IG Nodes for Register Class " << RegClassID << ":" << endl;
+ cerr << "IG Nodes for Register Class " << RegClassID << ":" << endl;
IG.printIGNodeList();
}
inline void printIG() {
- cout << "IG for Register Class " << RegClassID << ":" << endl;
+ cerr << "IG for Register Class " << RegClassID << ":" << endl;
IG.printIG();
}
OpenPOWER on IntegriCloud