summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-02-15 18:09:51 +0000
committerDale Johannesen <dalej@apple.com>2008-02-15 18:09:51 +0000
commit67b818f503d2ad3fd8993551d02b06daed3775d3 (patch)
tree1fb68ae208dd88e81779319fc711f99c5cadd545 /llvm/lib
parenteab51d3a044eb797e7728bf405169d472f18df95 (diff)
downloadbcm5719-llvm-67b818f503d2ad3fd8993551d02b06daed3775d3.tar.gz
bcm5719-llvm-67b818f503d2ad3fd8993551d02b06daed3775d3.zip
Remove warning about 64-bit code on processor
that doesn't support it. Per Chris. llvm-svn: 47162
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp4
-rw-r--r--llvm/lib/Target/X86/X86Subtarget.cpp6
2 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index 030dc7a17ca..10373cb427c 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -83,8 +83,6 @@ PPCSubtarget::PPCSubtarget(const TargetMachine &tm, const Module &M,
// If we are generating code for ppc64, verify that options make sense.
if (is64Bit) {
if (!has64BitSupport()) {
- 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.
@@ -94,8 +92,6 @@ PPCSubtarget::PPCSubtarget(const TargetMachine &tm, const Module &M,
// If the user requested use of 64-bit regs, but the cpu selected doesn't
// support it, warn and ignore.
if (use64BitRegs() && !has64BitSupport()) {
- cerr << "PPC: 64-bit registers requested on CPU without support. "
- << "Disabling 64-bit register use.\n";
Use64BitRegs = false;
}
diff --git a/llvm/lib/Target/X86/X86Subtarget.cpp b/llvm/lib/Target/X86/X86Subtarget.cpp
index abd756c45c4..fb46cfc6ac0 100644
--- a/llvm/lib/Target/X86/X86Subtarget.cpp
+++ b/llvm/lib/Target/X86/X86Subtarget.cpp
@@ -235,12 +235,6 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS, bool is64Bit)
// If feature string is not empty, parse features string.
std::string CPU = GetCurrentX86CPU();
ParseSubtargetFeatures(FS, CPU);
-
- if (Is64Bit && !HasX86_64)
- cerr << "Warning: Generation of 64-bit code for a 32-bit processor "
- << "requested.\n";
- if (Is64Bit && X86SSELevel < SSE2)
- cerr << "Warning: 64-bit processors all have at least SSE2.\n";
} else {
// Otherwise, use CPUID to auto-detect feature set.
AutoDetectSubtargetFeatures();
OpenPOWER on IntegriCloud