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

Gil Rapaport llvmlistbot at llvm.org
Tue Jul 22 08:02:57 PDT 2025


================
@@ -8,6 +8,17 @@ func.func @alloca() {
   return
 }
 
+// CHECK-LABEL: alloc()
+func.func @alloc() {
+  // CHECK-NEXT: %0 = emitc.call_opaque "sizeof"() {args = [i32]} : () -> !emitc.size_t
----------------
aniragil wrote:

Shouldn't `i32` be `uint32_t` here?

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


More information about the Mlir-commits mailing list