[LLVMbugs] [Bug 2765] New: CloneFunction Fails to correctly set Attributes

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Sep 4 12:27:44 PDT 2008


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

           Summary: CloneFunction Fails to correctly set Attributes
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


CloneFunction allows the ValueMap to remove arguments from the resultant
function during the clone and replace those arguments with other values. 
However, CloneFunction.cpp:84 copies attributes based on argument position, not
taking into account that arguments may have been removed in the destination
function.

While on this topic, why are the ParamAttributes not attached directly to each
Argument?


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