[LLVMbugs] [Bug 1152] NEW: Move gccas/gccld functionality to opt

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 31 14:38:24 PST 2007


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

           Summary: Move gccas/gccld functionality to opt
           Product: tools
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gccas
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


We currently have multiple ways of invoking optimizations in llvm, via gccas,
gccld, and opt. If we moved gccas/gccld functionality into opt we could save
some footprint size and a significant amount of link time during builds (gccas
and gccld are among the largest tools, on the same scale as opt, lli and llc).

To accomplish this we would need to:

1. Add an option such as -std-compile-opts to run the gccas "set" of
   optimizations.
2. Add an option such as -std-link-opts to run the gccld set of optimizations.
3. Add a -verify-each option to opt to enabled the "verify after each pass"
   feature of gccas/gccld.
4. Adjust llvm-test to use opt and llvm-link with these new options instead of
   running gccas and gccld.

Anyone see any roadblocks on doing this? Anyone think its not a good idea?



------- 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