[Mlir-commits] [clang-tools-extra] [mlir] [MLIR][XeGPU] Refactor Layout access interface (PR #172125)

Jianhui Li llvmlistbot at llvm.org
Tue Dec 16 11:50:53 PST 2025


================
@@ -1478,7 +1487,7 @@ void XeGPUWgToSgDistributePass::runOnOperation() {
   });
 
   target.addDynamicallyLegalOp<xegpu::DpasOp>([=](xegpu::DpasOp op) -> bool {
-    auto layout = xegpu::getDistributeLayoutAttr(op.getResult());
+    auto layout = op.getLayoutCdAttr();
----------------
Jianhui-Li wrote:

see answer above.

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


More information about the Mlir-commits mailing list