[LLVMbugs] [Bug 753] NEW: bugpoint should fork/exec opt instead of fork/exec'ing itself to run opt passes

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 27 21:36:31 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=753

           Summary: bugpoint should fork/exec opt instead of fork/exec'ing
                    itself to run opt passes
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


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



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list