[llvm] [WebAssembly] Handle wide mask reductions in performSETCCCombine (PR #189358)

Sam Parker via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 03:02:20 PDT 2026


================
@@ -3527,6 +3527,124 @@ static SDValue TryMatchTrue(SDNode *N, EVT VecVT, SelectionDAG &DAG) {
   return DAG.getZExtOrTrunc(Ret, DL, N->getValueType(0));
 }
 
+enum class MaskReduceKind {
----------------
sparker-arm wrote:

Do we really need this enum? Why not just store the Intrinsic::ID in `MaskReduceInfo`?

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


More information about the llvm-commits mailing list