[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed May 12 14:02:02 PDT 2004


Changes in directory llvm/tools/bugpoint:

Miscompilation.cpp updated: 1.47 -> 1.48

---
Log message:

Turn the block extractor on by default now that it basically works, eliminating the option.


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

Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.47 llvm/tools/bugpoint/Miscompilation.cpp:1.48
--- llvm/tools/bugpoint/Miscompilation.cpp:1.47	Wed May 12 11:08:01 2004
+++ llvm/tools/bugpoint/Miscompilation.cpp	Wed May 12 14:02:44 2004
@@ -29,10 +29,6 @@
 
 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 @@
 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(),





More information about the llvm-commits mailing list