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

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Mar 13 02:42:14 PDT 2026


================
@@ -103,6 +103,7 @@ void transform::ApplyAllocToAllocaOp::populatePatternsWithState(
 void transform::ApplyExpandOpsPatternsOp::populatePatterns(
     RewritePatternSet &patterns) {
   memref::populateExpandOpsPatterns(patterns);
+  memref::populateBypassReinterpretCastPatterns(patterns);
----------------
banach-space wrote:

Is this required?

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


More information about the Mlir-commits mailing list