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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to