[Mlir-commits] [mlir] [mlir][xegpu] refine basic routines (PR #138701)
Adam Siemieniuk
llvmlistbot at llvm.org
Thu May 8 09:02:17 PDT 2025
================
@@ -253,6 +253,28 @@ def XeGPU_LayoutAttr : XeGPUAttr<"Layout", "layout"> {
return $_get($_ctxt, sg_layout, sg_data, inst_data,
DenseI32ArrayAttr::get($_ctxt, lane_layout),
DenseI32ArrayAttr::get($_ctxt, lane_data), order);
+ }]>,
+ AttrBuilder<(ins "llvm::ArrayRef<int>": $lane_layout,
----------------
adam-smnk wrote:
It'd be cleaner to fix type to `int32_t` to match the attr getter
https://github.com/llvm/llvm-project/pull/138701
More information about the Mlir-commits
mailing list