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

Tuomas Kärnä via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 15 07:08:36 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();
----------------
tkarna wrote:

getAnchorLayout ?

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


More information about the cfe-commits mailing list