[LLVMbugs] [Bug 8139] New: RFE: opt should strip optsize bit with some options

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 13 14:17:33 PDT 2010


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

           Summary: RFE: opt should strip optsize bit with some options
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Archive library
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


I think it makes sense for:
--
$ clang -c -Os -flto -o t.bc t.c
$ opt -O3 -o t2.bc t.bc
--
to produce something as close as possible to:
--
$ clang -c -O3 -flto -o t.bc t.c
--
For this to work properly, opt should be stripping the optsize bit off of
functions except when it is run with the optimize size options.

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