[LLVMbugs] Bugpoint patch for pruning global initializers
babic.domagoj at gmail.com
Wed Oct 11 13:49:49 PDT 2006
Currently, bugpoint prunes either all global initializers or none.
That's a serious problem if the bug is related to global initializers
and you have almost 50000 initializers (like in my case).
The patch does binary splitting on the set of initializers, and reduces
those 50000 initializers to 1 in a couple of minutes.
Unfortunately, I haven't been able to figure out how to reuse
ListReducer for globals, but the idea is pretty much the same.
Note that the probability of "restarts" (BackjumpProbability) has
to decrease, otherwise there's an exceptionally small probability
of infinite looping.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2084 bytes
Desc: not available
More information about the llvm-bugs