[Mlir-commits] [mlir] [MLIR][XeGPU][TransformOps] Add set_op_layout_attr op (PR #166854)

Rolf Morel llvmlistbot at llvm.org
Fri Nov 7 07:02:49 PST 2025


================
@@ -90,6 +90,38 @@ createLayoutAttr(MLIRContext *ctx, ArrayRef<int32_t> sgLayout,
       /*order=*/nullptr);
 }
 
+/// Generate `xegpu::LayoutAttr` from op mixed layout values.
+DiagnosedSilenceableFailure
+getLayoutAttrFromOperands(transform::TransformRewriter &rewriter,
+                          transform::TransformState &state,
----------------
rolfmorel wrote:

How about just passing the context here?

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


More information about the Mlir-commits mailing list