[LLVMbugs] [Bug 1146] NEW: Move function attributes out of FunctionType into calls and functions

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 30 09:25:42 PST 2007


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

           Summary: Move function attributes out of FunctionType into calls
                    and functions
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


Function attributes are currently a property of the FunctionType.  This makes it very painful to modify the 
attributes of a function after the function is created (because the type is immutable).  It would be much 
better to put the attributes on the call/invoke instruction and on the Function object itself.

The trick to this is to find a memory-efficient way to represent this.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list