mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Turn the block extractor on by default now that it basically works, eliminating the option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
836db50c33
commit
7507c297d0
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user