Remove warning about 64-bit code on processor
authorDale Johannesen <dalej@apple.com>
Fri, 15 Feb 2008 18:09:51 +0000 (18:09 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 15 Feb 2008 18:09:51 +0000 (18:09 +0000)
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/PowerPC/PPCSubtarget.cpp
lib/Target/X86/X86Subtarget.cpp

index 030dc7a17cae2dbe096edd887187c9736d0b035e..10373cb427cd671565fae109f0f439b8e199116d 100644 (file)
@@ -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;
   }
   
index abd756c45c404c5f25fde074fbc1eefa82db8175..fb46cfc6ac02388c700e1e94e5a5f90a6b1af674 100644 (file)
@@ -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();