summaryrefslogtreecommitdiff
path: root/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-13 19:35:54 +0000
committerChris Lattner <sabre@nondot.org>2004-03-13 19:35:54 +0000
commitb2c180f04e4f71a29c8c4a2478179cb1ddd5d859 (patch)
tree6884496d3eefd5b0a1253f9b899d5d71df2bb06c /tools/bugpoint/CrashDebugger.cpp
parentcc7c4acffa9fb14eb8ba08f70ba83a6331fcf58b (diff)
downloadllvm-b2c180f04e4f71a29c8c4a2478179cb1ddd5d859.tar.gz
llvm-b2c180f04e4f71a29c8c4a2478179cb1ddd5d859.tar.bz2
llvm-b2c180f04e4f71a29c8c4a2478179cb1ddd5d859.tar.xz
Fix the "infinite looping unless you disable adce" bug
Also remove an option to disable adce :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index a0b695cc21..04f494a0b6 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -330,7 +330,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
// 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"