[Mlir-commits] [mlir] [mlir][memref] Rewrite scalar `memref.copy` through reinterpret_cast into load/store (PR #186118)

ioana ghiban llvmlistbot at llvm.org
Thu Mar 19 02:23:59 PDT 2026


================
@@ -11,6 +11,11 @@
 
 include "mlir/Pass/PassBase.td"
 
+def BypassReinterpretCastPass : Pass<"memref-bypass-reinterpret-cast"> {
+  let summary = "Replace ops depending on redundant reinterpret casts to be "
+                "convertible to EmitC.";
----------------
ioghiban wrote:

Thank you. I made it more explicit in the description. Do you agree with this approach?

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


More information about the Mlir-commits mailing list