Turn the block extractor on by default now that it basically works, eliminating the...
[oota-llvm.git] / tools / bugpoint / Miscompilation.cpp
index f17bfaa64a1d302b37f2d0588cc1b51c2c0569c1..e920df3ecc1dfad6d0db4c3277f548fe6ebbbe99 100644 (file)
@@ -29,10 +29,6 @@ using namespace llvm;
 
 namespace llvm {
   extern cl::list<std::string> InputArgv;
-  cl::opt<bool>
-  EnableBlockExtraction("enable-block-extraction",
-                        cl::desc("Enable basic block extraction for "
-                                 "miscompilation debugging (experimental)"));
 }
 
 namespace {
@@ -390,9 +386,6 @@ bool ReduceMiscompiledBlocks::TestFuncs(const std::vector<BasicBlock*> &BBs) {
 static bool ExtractBlocks(BugDriver &BD,
                           bool (*TestFn)(BugDriver &, Module *, Module *),
                           std::vector<Function*> &MiscompiledFunctions) {
-  // Not enabled??
-  if (!EnableBlockExtraction) return false;
-
   std::vector<BasicBlock*> Blocks;
   for (unsigned i = 0, e = MiscompiledFunctions.size(); i != e; ++i)
     for (Function::iterator I = MiscompiledFunctions[i]->begin(),