[LLVMbugs] [Bug 16100] New: MDNodeOperand behaves faulty on Function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 21 19:12:15 PDT 2013


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

            Bug ID: 16100
           Summary: MDNodeOperand behaves faulty on Function
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: fwinter at jlab.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10562
  --> http://llvm.org/bugs/attachment.cgi?id=10562&action=edit
Repro

It seems MDNode::get() doesn't handle the parameters of a Function correctly in
case when the parameters were added to the ParameterList after the Function was
created. I attach a repro (trunk). It contains 2 cases: 1st where it fails to
include the parameters, 2nd where it works. Only difference of both is that in
the fist case the parameter was added later whereas in the 2nd case it was
given at Function creation time. It should output the same metadata in both
cases, right?

-- 
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/20130522/5817689b/attachment.html>


More information about the llvm-bugs mailing list