summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 22:21:48 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 22:21:48 +0000
commit9bfb1e1f29124d62e2290b20e395e76fff6f9a2a (patch)
tree74be612bc2cc5525dbdd5e05705e82ba3fcca8ff /llvm/lib/Target/PowerPC/PPCSubtarget.cpp
parentf4805ce89acbd92db0f143cbed9d66013e0ec0f3 (diff)
downloadbcm5719-llvm-9bfb1e1f29124d62e2290b20e395e76fff6f9a2a.tar.gz
bcm5719-llvm-9bfb1e1f29124d62e2290b20e395e76fff6f9a2a.zip
What should be the last unnecessary <iostream>s in the library.
llvm-svn: 32333
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index 643acc2cb2d..5c18e656656 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -15,7 +15,6 @@
#include "PPC.h"
#include "llvm/Module.h"
#include "PPCGenSubtarget.inc"
-#include <iostream>
using namespace llvm;
#if defined(__APPLE__)
@@ -80,8 +79,8 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit)
// If we are generating code for ppc64, verify that options make sense.
if (is64Bit) {
if (!has64BitSupport()) {
- std::cerr << "PPC: Generation of 64-bit code for a 32-bit processor "
- "requested. Ignoring 32-bit processor feature.\n";
+ cerr << "PPC: Generation of 64-bit code for a 32-bit processor "
+ << "requested. Ignoring 32-bit processor feature.\n";
Has64BitSupport = true;
}
// Silently force 64-bit register use on ppc64.
@@ -91,8 +90,8 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit)
// If the user requested use of 64-bit regs, but the cpu selected doesn't
// support it, warn and ignore.
if (use64BitRegs() && !has64BitSupport()) {
- std::cerr << "PPC: 64-bit registers requested on CPU without support. "
- "Disabling 64-bit register use.\n";
+ cerr << "PPC: 64-bit registers requested on CPU without support. "
+ << "Disabling 64-bit register use.\n";
Use64BitRegs = false;
}
OpenPOWER on IntegriCloud