[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


================
@@ -955,8 +957,8 @@ struct WgToSgStoreScatterOpWithOffset
     if (!valueType)
       return failure();
 
-    xegpu::DistributeLayoutAttr layout =
-        xegpu::getDistributeLayoutAttr(op.getOperand(0));
+    xegpu::DistributeLayoutAttr layout = op.getLayoutAttr();
----------------
tkarna wrote:

getAnchorLayout ?

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


More information about the cfe-commits mailing list