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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


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

Reply via email to