From ab1a0354ecff51d27098d6f11fbeabc65dec7123 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 15 Feb 2008 18:09:51 +0000 Subject: 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 --- lib/Target/X86/X86Subtarget.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/Target/X86/X86Subtarget.cpp') diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index abd756c..fb46cfc 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(); -- cgit v1.1