[Mlir-commits] [llvm] [mlir] [mlir][emitc] Ensure memref-to-emitc applies type converter to memref element types (PR #203742)
Jeremy Kun
llvmlistbot at llvm.org
Thu Jun 18 10:18:58 PDT 2026
================
@@ -101,15 +101,21 @@ Type convertMemRefType(MemRefType opTy, const TypeConverter *typeConverter) {
return resultTy;
}
-static Value calculateMemrefTotalSizeBytes(Location loc, MemRefType memrefType,
- OpBuilder &builder) {
+static FailureOr<Value>
+calculateMemrefTotalSizeBytes(Location loc, MemRefType memrefType,
+ OpBuilder &builder,
+ const TypeConverter *typeConverter) {
----------------
j2kun wrote:
Ah, this is cleaner, thanks.
https://github.com/llvm/llvm-project/pull/203742
More information about the Mlir-commits
mailing list