[llvm] [WebAssembly] [Codegen] Add patterns for relaxed dot (PR #163266)

Sam Parker via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 14 23:41:57 PDT 2025


================
@@ -1711,6 +1711,26 @@ defm RELAXED_DOT :
             "i16x8.relaxed_dot_i8x16_i7x16_s\t$dst, $lhs, $rhs",
             "i16x8.relaxed_dot_i8x16_i7x16_s", 0x112>;
 
+def : Pat<
----------------
sparker-arm wrote:

Thanks. And sorry, I should have deleted that comment after my rethink. If we're only supporting sext i8, then we don't need the parameterization, plus the instruction definition still only uses i8x16_i7x16, and I don't think we'll support i16/i15.

Sorry I got confused, these instructions are weird! We'll go with your original implementation.

https://github.com/llvm/llvm-project/pull/163266


More information about the llvm-commits mailing list