[Mlir-commits] [mlir] [memref] Support non-scalar copies in `reinterpret_cast` elision (PR #203873)
ioana ghiban
llvmlistbot at llvm.org
Wed Jun 17 02:58:45 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"
----------------
ioghiban wrote:
it's not. I added it to be consistent with the other passes here. Those also don't require this dependency - something to address in a future PR. good catch!
https://github.com/llvm/llvm-project/pull/203873
More information about the Mlir-commits
mailing list