[llvm] [WebAssembly] Add pattern for relaxed laneselect (from bitselect simd) (PR #163807)
Jasmine Tang via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 17 09:35:35 PDT 2025
================
@@ -1662,6 +1662,13 @@ multiclass SIMDLANESELECT<Vec vec, bits<32> op> {
(vec.vt V128:$a), (vec.vt V128:$b), (vec.vt V128:$c)))],
vec.prefix#".relaxed_laneselect\t$dst, $a, $b, $c",
vec.prefix#".relaxed_laneselect", op>;
+
+ let AddedComplexity = 1 in {
+ def : Pat<(vec.vt (int_wasm_bitselect
----------------
badumbatish wrote:
hmm can you clarify a bit on that, i think i'm a bit lost
https://github.com/llvm/llvm-project/pull/163807
More information about the llvm-commits
mailing list