bugpoint: make the number of trim iterations a compile-time constant
authorTobias Grosser <tobias@grosser.es>
Sun, 26 Jul 2015 15:18:45 +0000 (15:18 +0000)
committerTobias Grosser <tobias@grosser.es>
Sun, 26 Jul 2015 15:18:45 +0000 (15:18 +0000)
commit6db2ad60047187af926e97e284aa047e8a30be69
tree38491ccbac56cb0a7463a6ddfe7c885fdccd3742
parent6df163bcdf6834eab4c2f3e1c7af0324ee40af91
bugpoint: make the number of trim iterations a compile-time constant

Around 10 year ago Chris limited this code to a single iteration by just
dropping a break into the loop body. We now make the number of trim iterations
a compile time constant to be able to play with it and see if this can
improve the bugpoint results. We currently use with '3' still a small and
conservative value, but this can be adjusted in the future, if needed.

I tried to look for a trivial test case, but did not succeed yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243247 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ListReducer.h