[Mlir-commits] [mlir] [MLIR][XeGPU] Extend SGMapAttr and Add ConvertLayoutOp (PR #132425)

Petr Kurapov llvmlistbot at llvm.org
Tue Mar 25 04:42:02 PDT 2025


================
@@ -979,4 +983,24 @@ def XeGPU_FenceOp: XeGPU_Op<"fence", []> {
   let extraClassDeclaration = extraBaseClassDeclaration;
 }
 
+def XeGPU_ConvertLayoutOp: XeGPU_Op<"convert_layout", [Pure, AllTypesMatch<["source", "result"]>]> {
----------------
kurapov-peter wrote:

Is this going to be lowered to some sequence of real instructions? Also, why is it not supported for the wi-level layout?

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


More information about the Mlir-commits mailing list