[LLVMbugs] [Bug 21471] New: Encoded compilation options in bitcode file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 3 16:27:10 PST 2014


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

            Bug ID: 21471
           Summary: Encoded compilation options in bitcode file
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: dexonsmith at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Many command-line options specified when compiling individual translation units
are ignored in the context of LTO.  In particular, we don't properly encode all
options in the bitcode, and those that we do often aren't respected by CodeGen
and IR passes. 

Eric is currently restructuring the LLVM backend to support per-function
subtarget info, which gets us most of the way there.

However, many options are sent to the backend as global flags (via -mllvm or
-backend-option) instead of as function attributes.  Also, some function
attributes are duplicated via other mechanisms, so I suspect not all the
attributes are actually respected.

-- 
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/20141104/11b08548/attachment.html>


More information about the llvm-bugs mailing list