Remove -disable-x86-sse
authorEvan Cheng <evan.cheng@apple.com>
Tue, 14 Feb 2006 20:30:14 +0000 (20:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 14 Feb 2006 20:30:14 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26179 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.cpp

index e5fea9aa97aa833d30d66e3a8fc57c98994810e0..c43ba26074c1d02f800d22bc6359436db5f390e0 100644 (file)
 #include "X86GenSubtarget.inc"
 using namespace llvm;
 
-#include "llvm/Support/CommandLine.h"
-namespace {
-  cl::opt<bool> DisableSSE("disable-x86-sse", cl::Hidden,
-                          cl::desc("Disable sse on X86"));
-}
-
 /// GetCpuIDAndInfo - Execute the specified cpuid and return the 4 values in the
 /// specified arguments.  If we can't run cpuid on the host, return true.
 static bool GetCpuIDAndInfo(unsigned value, unsigned *rEAX, unsigned *rEBX,
@@ -166,10 +160,8 @@ X86Subtarget::X86Subtarget(const Module &M, const std::string &FS) {
   // Default to ELF unless otherwise specified.
   TargetType = isELF;
   
-  if (DisableSSE) {
-    X86SSELevel = NoMMXSSE;
-    X863DNowLevel = NoThreeDNow;
-  }
+  X86SSELevel = NoMMXSSE;
+  X863DNowLevel = NoThreeDNow;
       
   // Set the boolean corresponding to the current target triple, or the default
   // if one cannot be determined, to true.