llvm-project
1171e30c - [WebAssembly] Support v128.load{32,64}_zero for f32 and f64 types (#172291)

Commit
181 days ago
[WebAssembly] Support v128.load{32,64}_zero for f32 and f64 types (#172291) This patch extends the `load_zero` pattern matching to support floating-point vector types (`v4f32` and `v2f64`). Previously, the optimization to generate `v128.load32_zero` and `v128.load64_zero` was only enabled for integer types (`v4i32` and `v2i64`). This change adds the necessary TableGen patterns to correctly match scalar floating-point loads inserted into zero-initialized vectors.
Author
Parents
Loading