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

            Bug ID: 17935
           Summary: CloneFunction doesn't copy CallingConv to new function
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This behavior was unexpected for me, the CloneFunction API doesn't set the
CallingConv of the new function to that of the old one.  Thoughts here?

Also, can we add a check to the Verifier to ensure Functions and CallSites have
matching CallingConv's, since behavior is undefined if they don't match?

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