projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a269ec7
)
Remove debugging code, unneuter this functionality
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Nov 2004 19:42:50 +0000
(19:42 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 18 Nov 2004 19:42:50 +0000
(19:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17963
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ListReducer.h
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ListReducer.h
b/tools/bugpoint/ListReducer.h
index 2af1ae769de1465cdbfaaade0701f9aade8c2da4..4057a0f45463dfa68fb56c4d98a5b7b9b5958e66 100644
(file)
--- 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;
}
}