[llvm-bugs] [Bug 46127] New: wasm miscompilation of vector instructions

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 28 14:14:00 PDT 2020


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

            Bug ID: 46127
           Summary: wasm miscompilation of vector instructions
           Product: libraries
           Version: 10.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: kubkon at jakubkonka.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23548
  --> https://bugs.llvm.org/attachment.cgi?id=23548&action=edit
LLVM IR of the reduction

Summary:
Vector of non-byte-aligned elements get miscompiled with `llc -O0`. Additional
optimisation passes seem to rectify the problem (although I cannot say for sure
whether that's always the case). Anyhow, see downstream issue for more details
and full analysis: https://github.com/ziglang/zig/issues/5339

Possibly (very likely) related: https://bugs.llvm.org/show_bug.cgi?id=43768.

-- 
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/20200528/a612a310/attachment.html>


More information about the llvm-bugs mailing list