[Mlir-commits] [mlir] [mlir][xegpu] Add initial skeleton implementation for lowering ConvertLayoutOp (PR #146176)

Chao Chen llvmlistbot at llvm.org
Tue Jul 22 11:12:09 PDT 2025


================
@@ -76,6 +76,30 @@ resolveUnrealizedConversionCastOp(UnrealizedConversionCastOp castOp) {
   }
 }
 
+// This pattern rewrites ConvertLayoutOp by removing the inst_data field
+// from the layout attributes. As the surrounding extract_strided_slice
+// and insert_strided_slice operations reconstruct the original value
----------------
chencha3 wrote:

Rephrased yours with copilot. 

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


More information about the Mlir-commits mailing list