[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Oct 8 15:41:59 PDT 2004



Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.67 -> 1.68
---
Log message:

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.


---
Diffs of the changes:  (+3 -1)

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.67 llvm/lib/Target/X86/X86TargetMachine.cpp:1.68
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.67	Wed Sep  1 17:55:36 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Fri Oct  8 17:41:46 2004
@@ -35,6 +35,7 @@
                               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 @@
        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 @@
 ///
 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) {
 }
 






More information about the llvm-commits mailing list