aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86Subtarget.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-02-14 20:30:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-02-14 20:30:14 +0000
commit968c1781726511e4f90ca78355a3c1b582c22692 (patch)
tree692d32c72070afb2d2829f6ce3188c7ec711c6df /lib/Target/X86/X86Subtarget.cpp
parent60330ff193a03c02f0b0eabb17fa938c4bef6f59 (diff)
downloadexternal_llvm-968c1781726511e4f90ca78355a3c1b582c22692.zip
external_llvm-968c1781726511e4f90ca78355a3c1b582c22692.tar.gz
external_llvm-968c1781726511e4f90ca78355a3c1b582c22692.tar.bz2
Remove -disable-x86-sse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Subtarget.cpp')
-rw-r--r--lib/Target/X86/X86Subtarget.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/Target/X86/X86Subtarget.cpp b/lib/Target/X86/X86Subtarget.cpp
index e5fea9a..c43ba26 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<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.