[llvm-bugs] [Bug 32268] New: Passes should only use optsize/minsize function-level attributes

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 14 10:56:45 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32268

            Bug ID: 32268
           Summary: Passes should only use optsize/minsize function-level
                    attributes
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: pirama at google.com
                CC: llvm-bugs at lists.llvm.org

Some passes are getting configured from the global SizeLevel flag in
PassManagerBuilder, which gets its value from -Os,-Oz command line flags. 
Instead, they should use the per-function optsize/minsize attributes.

See https://bugs.llvm.org/show_bug.cgi?id=32155 and some comments in
https://reviews.llvm.org/D30920 for additional details.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170314/6c79d99e/attachment.html>


More information about the llvm-bugs mailing list