[Mlir-commits] [clang-tools-extra] [mlir] [MLIR][XeGPU] Refactor Layout access interface (PR #172125)
Tuomas Kärnä
llvmlistbot at llvm.org
Mon Dec 15 07:08:38 PST 2025
================
@@ -901,8 +903,8 @@ struct WgToSgLoadGatherOpWithOffset
return failure();
ArrayRef<int64_t> wgShape = resultType.getShape();
- xegpu::DistributeLayoutAttr layout =
- xegpu::getDistributeLayoutAttr(op.getResult());
+ xegpu::DistributeLayoutAttr layout = op.getLayoutAttr();
----------------
tkarna wrote:
getAnchorLayout ? I.e. we define the anchor layout only in the op definition and then reuse the interface methods elsewhere
https://github.com/llvm/llvm-project/pull/172125
More information about the Mlir-commits
mailing list