|
|
| Bugzilla Link |
753 |
| Resolution |
FIXED |
| Resolved on |
Aug 05, 2010 10:26 |
| Version |
1.0 |
| OS |
All |
Extended Description
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.
-Chris