With LLVM 20 the SIMD intrinsic wasm32::u8x16_sub_sat
is compiled to a function call
#137419
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-bug
Category: This is a bug.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
The WASM SIMD intrinsic
std::arch::wasm32::u8x16_sub_sat
used to be compiled to the WASM instructioni8x16.sub_sat_u
. Since the switch LLVM 20 (bisected) it is compiled tocall llvm.wasm.sub.sat.unsigned.v16i8
Other intrinsics (e.g. saturated integer addition) do not seem to be affected.
Godbolt
The text was updated successfully, but these errors were encountered: