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

Gil Rapaport llvmlistbot at llvm.org
Thu Jul 31 07:37:14 PDT 2025


================
@@ -97,6 +97,29 @@ Type convertMemRefType(MemRefType opTy, const TypeConverter *typeConverter) {
   return resultTy;
 }
 
+Value calculateMemrefTotalSizeBytes(Location loc, MemRefType memrefType,
+                                    ConversionPatternRewriter &rewriter) {
----------------
aniragil wrote:

Can take the more generic OpBuilder here instead of a Rewriter?

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


More information about the Mlir-commits mailing list