[Mlir-commits] [mlir] [memref] Support non-scalar copies in `reinterpret_cast` elision (PR #203873)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Jun 17 09:41:16 PDT 2026


================
@@ -19,6 +19,9 @@ def ElideReinterpretCastPass : Pass<"memref-elide-reinterpret-cast"> {
     operations to obtain compatible shapes with equivalent ops that operate on
     compatible shapes directly. This simplifies conversion to EmitC.
 }];
+  let dependentDialects = [
+      "arith::ArithDialect", "memref::MemRefDialect", "scf::SCFDialect"
----------------
banach-space wrote:

Then please remove it and send a follow-up PR to remove it from other places, thank you!

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


More information about the Mlir-commits mailing list