From: Evan Cheng Date: Tue, 14 Feb 2006 20:30:14 +0000 (+0000) Subject: Remove -disable-x86-sse X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=968c1781726511e4f90ca78355a3c1b582c22692;p=oota-llvm.git Remove -disable-x86-sse git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26179 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp index e5fea9aa97a..c43ba26074c 100644 --- a/lib/Target/X86/X86Subtarget.cpp +++ b/lib/Target/X86/X86Subtarget.cpp @@ -16,12 +16,6 @@ #include "X86GenSubtarget.inc" using namespace llvm; -#include "llvm/Support/CommandLine.h" -namespace { - cl::opt 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.