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

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 31 20:28:12 PDT 2004



Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.63 -> 1.64

---
Log message:

Completely disable the pattern isel until it is more substantial.


---
Diffs of the changes:  (+4 -0)

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.63 llvm/lib/Target/X86/X86TargetMachine.cpp:1.64
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.63	Thu Jul 22 16:30:35 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Sat Jul 31 22:28:02 2004
@@ -26,8 +26,12 @@
 using namespace llvm;
 
 namespace {
+#if 0  // FIXME: This will be used in the future.
   cl::opt<bool> NoPatternISel("disable-pattern-isel", cl::init(true),
                         cl::desc("Use the 'simple' X86 instruction selector"));
+#else
+  static const bool NoPatternISel = true;
+#endif
   cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),
                         cl::desc("Disable the ssa-based peephole optimizer "
                                  "(defaults to disabled)"));





More information about the llvm-commits mailing list