1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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

llvm-svn: 13502
This commit is contained in:
Chris Lattner 2004-05-12 19:02:44 +00:00
parent 4a5062f1a8
commit 387b7a11ce

View 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(),