summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ListReducer.h
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
commit7fd27e2c353889c0902abe8f20deb908eaca2e02 (patch)
treed3a4359588a724cb0d9c2da7d15f68662e2c764a /llvm/tools/bugpoint/ListReducer.h
parent8cb483b3355ae422ea6823f27fbc929a8db5132e (diff)
downloadbcm5719-llvm-7fd27e2c353889c0902abe8f20deb908eaca2e02.tar.gz
bcm5719-llvm-7fd27e2c353889c0902abe8f20deb908eaca2e02.zip
Remove debugging code, unneuter this functionality
llvm-svn: 17963
Diffstat (limited to 'llvm/tools/bugpoint/ListReducer.h')
-rw-r--r--llvm/tools/bugpoint/ListReducer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ListReducer.h b/llvm/tools/bugpoint/ListReducer.h
index 2af1ae769de..4057a0f4546 100644
--- a/llvm/tools/bugpoint/ListReducer.h
+++ b/llvm/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;
}
}
OpenPOWER on IntegriCloud