summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-18 19:42:50 +0000
committerChris Lattner <sabre@nondot.org>2004-11-18 19:42:50 +0000
commitd29c636a00cfa13c2ba8f4f25e07dd821d9b395d (patch)
tree6fc77563ce110760b063b6b184d6ae11889dba2a /tools
parenta269ec7b0a83d3b20730fd2d9f7c3ed5a552da90 (diff)
downloadllvm-d29c636a00cfa13c2ba8f4f25e07dd821d9b395d.tar.gz
llvm-d29c636a00cfa13c2ba8f4f25e07dd821d9b395d.tar.bz2
llvm-d29c636a00cfa13c2ba8f4f25e07dd821d9b395d.tar.xz
Remove debugging code, unneuter this functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ListReducer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/bugpoint/ListReducer.h b/tools/bugpoint/ListReducer.h
index 2af1ae769d..4057a0f454 100644
--- a/tools/bugpoint/ListReducer.h
+++ b/tools/bugpoint/ListReducer.h
@@ -90,7 +90,7 @@ struct ListReducer {
// could. If there is more two elements in the list, try deleting interior
// elements and testing that.
//
- if (0 && TheList.size() > 2) {
+ if (TheList.size() > 2) {
bool Changed = true;
std::vector<ElTy> EmptyList;
while (Changed) {
@@ -107,6 +107,9 @@ struct ListReducer {
Changed = true;
}
}
+ // This can take a long time if left uncontrolled. For now, don't
+ // iterate.
+ break;
}
}