[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:38 PST 2025


================
@@ -770,4 +770,30 @@ def XeGPU_MemLayoutAttr : XeGPUAttr<"MemLayout", "mem_layout"> {
 
 }
 
+def AnchorLayoutInterface : OpInterface<"AnchorLayoutInterface"> {
+  let cppNamespace = "::mlir::xegpu";
+
+  let description = [{
+    An attribute interface for accessing anchor layout information.
+    This interface provides a method to set and retrieve the anchor layout
+    from attributes that implement it.
----------------
tkarna wrote:

from _operations_ that implement it.

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


More information about the cfe-commits mailing list