[LLVMbugs] [Bug 5722] New: llc needs -Os option

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 8 10:01:07 PST 2009


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

           Summary: llc needs -Os option
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bagel99 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


For targets in embedded systems, the size of code is often more important than
execution speed.  GCC has the -Os option to indicate optimize for space.  As an
example, thumb2 code now generates movw/movt instead of using the constant
pool. While this speeds up *some* cores, it does take significantly more space.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list