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

Charitha Saumya llvmlistbot at llvm.org
Fri Jul 18 09:53:36 PDT 2025


================
@@ -76,6 +76,25 @@ resolveUnrealizedConversionCastOp(UnrealizedConversionCastOp castOp) {
   }
 }
 
+struct ConvertLayoutOpPattern
+    : public OpRewritePattern<xegpu::ConvertLayoutOp> {
+  using OpRewritePattern::OpRewritePattern;
+  LogicalResult matchAndRewrite(xegpu::ConvertLayoutOp op,
----------------
charithaintc wrote:

could you add some comment here explaining why inst_data must be dropped?

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


More information about the Mlir-commits mailing list