[clang] [llvm] [WebAssembly] Change half-precision feature name to fp16. (PR #105434)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 05:04:54 PST 2026
================
@@ -178,7 +178,7 @@
// GENERIC-NOT: #define __wasm_bulk_memory__ 1{{$}}
// GENERIC-NOT: #define __wasm_exception_handling__ 1{{$}}
// GENERIC-NOT: #define __wasm_extended_const__ 1{{$}}
-// GENERIC-NOT: #define __wasm_half_precision__ 1{{$}}
+// GENERIC-NOT: #define __wasm__fp16__ 1{{$}}
----------------
juj wrote:
Thanks! I missed that, and had tried to just do `--experimental-wasm-fp16`. Changing to `--js-flags="--experimental-wasm-fp16"` works beautifully in Chrome Canary. 👍
https://github.com/llvm/llvm-project/pull/105434
More information about the llvm-commits
mailing list