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

Created attachment 21631
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.
llvm-bugs mailing list

Reply via email to