[Mlir-commits] [mlir] [MLIR][XeGPU] XeVM lowering support for load_matrix/store_matrix (PR #162780)

Adam Siemieniuk llvmlistbot at llvm.org
Fri Oct 10 06:02:33 PDT 2025


================
@@ -716,8 +716,30 @@ def XeGPU_MemLayoutAttr : XeGPUAttr<"MemLayout", "mem_layout"> {
       return getAttrs().getAs<ArrayAttr>("stride");
     }
 
+    ArrayAttr getBlockAttr() {
----------------
adam-smnk wrote:

Note for future, not burning issue here.

It'd be nice to align the two getters.
`getXAttr` version might be better in this case as `getStrides()` and `getBlocks()` is already used for many other things.

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


More information about the Mlir-commits mailing list