Completely disable the pattern isel until it is more substantial.
authorChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 03:28:02 +0000 (03:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Aug 2004 03:28:02 +0000 (03:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15380 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetMachine.cpp

index af0331528045a83970e65fed227aca38d4da2d23..0a965ec7eaa05f8cfa4231b3298d039e39533e3a 100644 (file)
 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)"));