aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-01 03:28:02 +0000
committerChris Lattner <sabre@nondot.org>2004-08-01 03:28:02 +0000
commit1ab7c5b5e891804411d85d98403536f705d82fcc (patch)
treea5b347bb36b9d45495d71adf3398dae8636c2fb6 /lib/Target/X86
parent4ad25e432dab24de7ffa7349c198c760634b71e3 (diff)
downloadexternal_llvm-1ab7c5b5e891804411d85d98403536f705d82fcc.zip
external_llvm-1ab7c5b5e891804411d85d98403536f705d82fcc.tar.gz
external_llvm-1ab7c5b5e891804411d85d98403536f705d82fcc.tar.bz2
Completely disable the pattern isel until it is more substantial.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index af03315..0a965ec 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -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)"));