[llvm-commits] CVS: llvm/tools/bugpoint/ListReducer.h

Chris Lattner lattner at cs.uiuc.edu
Thu Nov 18 11:43:02 PST 2004



Changes in directory llvm/tools/bugpoint:

ListReducer.h updated: 1.11 -> 1.12
---
Log message:

Remove debugging code, unneuter this functionality


---
Diffs of the changes:  (+4 -1)

Index: llvm/tools/bugpoint/ListReducer.h
diff -u llvm/tools/bugpoint/ListReducer.h:1.11 llvm/tools/bugpoint/ListReducer.h:1.12
--- llvm/tools/bugpoint/ListReducer.h:1.11	Tue Nov 16 00:31:38 2004
+++ llvm/tools/bugpoint/ListReducer.h	Thu Nov 18 13:42:50 2004
@@ -90,7 +90,7 @@
     // 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 @@
             Changed = true;
           }
         }
+        // This can take a long time if left uncontrolled.  For now, don't 
+        // iterate.
+        break;
       }
     }
 






More information about the llvm-commits mailing list