You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, BugDriver::runPasses exec's bugpoint with a magic argument to run passes, instead of running
opt.
It would be nice if bugpoint was changed to run opt. Because the eventual instructions it prints will use
opt, it knows how to do it already. In most cases there should be no difference. In cases where the
optimizer is nondeterministic or thrashing memory though, it is possible that bugpoint can find a
problem, reduce it, then it may not be reproducible with the opt command line that is printed.
By always using what it will eventually print, bugpoint is more likely to do a useful reduction.