// FIXME: This should use the list reducer to converge faster by deleting
// larger chunks of instructions at a time!
- unsigned Simplification = 4;
+ unsigned Simplification = 2;
do {
--Simplification;
std::cout << "\n*** Attempting to reduce testcase by deleting instruc"
namespace {
cl::opt<bool>
- NoADCE("disable-adce",
- cl::desc("Do not use the -adce pass to reduce testcases"));
- cl::opt<bool>
NoDCE ("disable-dce",
cl::desc("Do not use the -dce pass to reduce testcases"));
cl::opt<bool, true>
// Make sure that the appropriate target data is always used...
Passes.add(new TargetData("bugpoint", Result));
- if (Simplification > 2 && !NoADCE)
- Passes.add(createAggressiveDCEPass()); // Remove dead code...
- //Passes.add(createInstructionCombiningPass());
if (Simplification > 1 && !NoDCE)
Passes.add(createDeadCodeEliminationPass());
if (Simplification && !DisableSimplifyCFG)