[Mlir-commits] [mlir] [mlir][EmitC] Expand the MemRefToEmitC pass - Lowering `CopyOp` (PR #151206)

Paul Kirth llvmlistbot at llvm.org
Thu Aug 7 09:19:34 PDT 2025


================
@@ -97,6 +98,31 @@ Type convertMemRefType(MemRefType opTy, const TypeConverter *typeConverter) {
   return resultTy;
 }
 
+Value calculateMemrefTotalSizeBytes(Location loc, MemRefType memrefType,
----------------
ilovepi wrote:

```suggestion
static Value calculateMemrefTotalSizeBytes(Location loc, MemRefType memrefType,
```
I don't think this gets used outside this TU, right?

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


More information about the Mlir-commits mailing list