[Mlir-commits] [mlir] [mlir][memref] Rewrite scalar `memref.copy` through reinterpret_cast into load/store (PR #186118)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Thu Mar 19 02:51:34 PDT 2026
================
@@ -39,6 +39,10 @@ class DeallocOp;
// Patterns
//===----------------------------------------------------------------------===//
+/// Collects a set of patterns to rewrite ops removing redundant reinterpret
+/// casts within the memref dialect.
----------------
banach-space wrote:
[nit]
```suggestion
/// Collects a set of patterns that bypass memref.reinterpet_cast Ops. This simplifies the IR in the context of lowering to EmitC.
```
https://github.com/llvm/llvm-project/pull/186118
More information about the Mlir-commits
mailing list