[llvm-bugs] [Bug 32771] New: Stack get and set use wrong global id

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 24 10:41:36 PDT 2017


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

            Bug ID: 32771
           Summary: Stack get and set use wrong global id
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: wallbraker at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18342
  --> http://bugs.llvm.org/attachment.cgi?id=18342&action=edit
Output from wasm2wast from the resulting wasm module.

The equivalent attached is a ll and wast file shows a bug in the WebAssembly
backend when using the wasm32-unknown-unknown-wasm triple. As you can see the
stack pointer get_global/set_local reference the wrong global id.

-- 
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/20170424/b3c06fa6/attachment.html>


More information about the llvm-bugs mailing list