[Mlir-commits] [mlir] [mlir][xegpu] Add support for `vector.reduction` and `vector.multi_reduction` subgroup to work-item distribution. (PR #180308)

Charitha Saumya llvmlistbot at llvm.org
Wed Feb 11 14:46:20 PST 2026


================
@@ -273,6 +273,12 @@ struct TestXeGPUSgToWiDistributeExperimental
            "Work-item Distribution";
   }
 
+  Option<bool> enableRewriteMultiReductionToReductions{
+      *this, "enable-rewrite-multi-reduction-to-reductions",
+      llvm::cl::desc("Partially lower multi-reduction ops to reduction ops if "
----------------
charithaintc wrote:

answered above. The rewrite is tested seperately to increase test coverage and simplicity of testing.

e2e testing needs insert/extract support (will be added later) 

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


More information about the Mlir-commits mailing list