[Mlir-commits] [mlir] [mlir][xegpu] Refine layout assignment in XeGPU SIMT distribution. (PR #142687)
Igor Zamyatin
llvmlistbot at llvm.org
Tue Jun 17 07:41:05 PDT 2025
================
@@ -27,10 +27,18 @@ def XeGPUSubgroupDistribute : Pass<"xegpu-subgroup-distribute"> {
}];
let dependentDialects = ["memref::MemRefDialect", "xegpu::XeGPUDialect",
"vector::VectorDialect"];
- let options = [Option<
- "printOnly", "print-analysis-only", "bool",
- /*default=*/"false",
- "Print the result of the subgroup map propagation analysis and exit.">];
+}
+
+def XeGPULayoutPropagate : Pass<"xegpu-layout-propagate"> {
----------------
Garra1980 wrote:
> I agree with the second part. Based on that, the main work done by this pass is actually assignment in my mind, since the input code has no layouts attached to any value.
So, it is assignment but through propagation, is it not? :)
I'd vote for xegpu-propagate-layout
https://github.com/llvm/llvm-project/pull/142687
More information about the Mlir-commits
mailing list