aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86Subtarget.cpp
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
commitab1a0354ecff51d27098d6f11fbeabc65dec7123 (patch)
tree24895ea5a392776d44c6403d227f8190259c2805 /lib/Target/X86/X86Subtarget.cpp
parent2e78b7879dfb423354278d58e0a14a99fefbe24b (diff)
Remove warning about 64-bit code on processor
that doesn't support it. Per Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index abd756c45c..fb46cfc6ac 100644
--- a/lib/Target/X86/X86Subtarget.cpp
+++ b/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();