https://bugs.llvm.org/show_bug.cgi?id=37163

            Bug ID: 37163
           Summary: Anonymous functions do not work in MIR
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedb...@nondot.org
          Reporter: matthew.arsena...@amd.com
                CC: llvm-bugs@lists.llvm.org

Reading a MIR dump produced from an anonymous function does not work.

e.g. run llc -stop-after=<sample pass> on this function

define void @0() {
  ret void
}


produces a function with an empty name. The parser then can't read this in
complaining:
function '' isn't defined in the provided LLVM IR

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to