[LLVMbugs] [Bug 17935] New: CloneFunction doesn't copy CallingConv to new function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 14 15:23:46 PST 2013


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: unassignedbugs at nondot.org
          Reporter: sschiffli at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131114/81a1c689/attachment.html>


More information about the llvm-bugs mailing list