[Mlir-commits] [mlir] [mlir][xegpu] Add support for setting `order` in `SetDescLayoutOp` and `SetOpLayoutAttrOp` transform ops. (PR #184705)

Tuomas Kärnä llvmlistbot at llvm.org
Fri Mar 6 09:38:34 PST 2026


================
@@ -229,7 +231,8 @@ void transform::SetDescLayoutOp::build(OpBuilder &builder,
         /*static_sg_layout=*/staticSgLayout,
         /*static_sg_data=*/staticSgData,
         /*static_inst_data=*/staticInstData,
-        /*slice_dims=*/sliceDims);
+        /*slice_dims=*/sliceDims,
+        /*order=*/order);
----------------
tkarna wrote:

This calls the cpp build method implying that the arg order must match the op's arg order defined in the .td file. If we want a different order it should be updated in the .td declaration.

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


More information about the Mlir-commits mailing list