[llvm-bugs] [Bug 37163] New: Anonymous functions do not work in MIR

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 18 06:12:04 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: Matthew.Arsenault at amd.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180418/6bacba03/attachment.html>


More information about the llvm-bugs mailing list