aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-08 22:41:46 +0000
committerChris Lattner <sabre@nondot.org>2004-10-08 22:41:46 +0000
commit222b86f6947b68f6fd3b298c17ea8dd7f2e1455f (patch)
treee6c74d90a380afaaeee9f685837e1184873e226a /lib/Target/X86
parentb0f4e389dba74e5d4692bc42d155950e96c92eaf (diff)
downloadexternal_llvm-222b86f6947b68f6fd3b298c17ea8dd7f2e1455f.zip
external_llvm-222b86f6947b68f6fd3b298c17ea8dd7f2e1455f.tar.gz
external_llvm-222b86f6947b68f6fd3b298c17ea8dd7f2e1455f.tar.bz2
The person who was planning to add SSE support isn't anymore, so disable
the -sse* options (to avoid misleading people). Also, the stack alignment of the target doesn't depend on whether SSE is eventually implemented, so remove a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 06cbc49..65df2d9 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -35,6 +35,7 @@ namespace {
cl::desc("Disable the X86 asm printer, for use "
"when profiling the code generator."));
+#if 0
// FIXME: This should eventually be handled with target triples and
// subtarget support!
cl::opt<X86VectorEnum, true>
@@ -46,6 +47,7 @@ namespace {
clEnumValN(SSE3, "sse3", " Enable SSE, SSE2, and SSE3 support"),
clEnumValEnd),
cl::location(X86Vector), cl::init(NoSSE));
+#endif
// Register the target.
RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)");
@@ -74,7 +76,7 @@ unsigned X86TargetMachine::getModuleMatchQuality(const Module &M) {
///
X86TargetMachine::X86TargetMachine(const Module &M, IntrinsicLowering *IL)
: TargetMachine("X86", IL, true, 4, 4, 4, 4, 4),
- FrameInfo(TargetFrameInfo::StackGrowsDown, 8/*16 for SSE*/, -4),
+ FrameInfo(TargetFrameInfo::StackGrowsDown, 8, -4),
JITInfo(*this) {
}