[llvm-bugs] [Bug 41149] New: Compiling wasm simd bitcode w/o +simd128 can fail

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 19 16:36:11 PDT 2019


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

            Bug ID: 41149
           Summary: Compiling wasm simd bitcode w/o +simd128 can fail
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: srj at google.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21631
  --> https://bugs.llvm.org/attachment.cgi?id=21631&action=edit
Bitcode file demonstrating bug

Enclosed is some bitcode that was generated using vector types. Building with

    llc --mtriple=wasm32-unknown--wasm -mattr=simd128 < /tmp/mod.bc

works fine; building without simd128 like so:

    llc --mtriple=wasm32-unknown--wasm < /tmp/mod.bc

fails with

    ScalarizeVectorResult #0: t104: v1i8 = abs t97
    LLVM ERROR: Do not know how to scalarize the result of this operator!

-- 
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/20190319/10c195f3/attachment.html>


More information about the llvm-bugs mailing list