aheejin accepted this revision. aheejin added a comment. This revision is now accepted and ready to land.
> LLVM produces a poison value if the dynamic swizzle indices are greater than > the vector size, but the WebAssembly instruction sets the corresponding > output lane to zero. Where do we set those undef or poison lanes to zero? ================ Comment at: clang/include/clang/Basic/BuiltinsWebAssembly.def:63 // SIMD builtins +TARGET_BUILTIN(__builtin_wasm_swizzle_v8x16, "V16cV16cV16c", "nc", "unimplemented-simd128") + ---------------- Is the second indices vector always v8x16 too? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68531/new/ https://reviews.llvm.org/D68531 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits