summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-22 03:25:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-22 03:25:22 +0000
commit81b5fa5620025cbde76c7ad8923db72a23f1d4e1 (patch)
tree29662b79ff167c259de0b5ee72c659742e9bf1a7 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent64c996271ef310e594ff1edc8b701c9ca5cb4c6e (diff)
downloadbcm5719-llvm-81b5fa5620025cbde76c7ad8923db72a23f1d4e1.tar.gz
bcm5719-llvm-81b5fa5620025cbde76c7ad8923db72a23f1d4e1.zip
Move Print*Pass to use raw_ostream.
llvm-svn: 57946
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index bc3c9910b4b..fa386b00f7b 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -151,7 +151,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, bool Fast) {
if (!Fast) {
PM.add(createLoopStrengthReducePass(getTargetLowering()));
if (PrintLSR)
- PM.add(createPrintFunctionPass("\n\n*** Code after LSR ***\n", &cerr));
+ PM.add(createPrintFunctionPass("\n\n*** Code after LSR ***\n", &errs()));
}
PM.add(createGCLoweringPass());
@@ -168,7 +168,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, bool Fast) {
if (PrintISelInput)
PM.add(createPrintFunctionPass("\n\n"
"*** Final LLVM Code input to ISel ***\n",
- &cerr));
+ &errs()));
// Standard Lower-Level Passes.
OpenPOWER on IntegriCloud