[Mlir-commits] [mlir] Expand the MemRefToEmitC pass - Adding scalars (PR #148055)
Jacques Pienaar
llvmlistbot at llvm.org
Fri Jul 11 13:19:05 PDT 2025
================
@@ -50,6 +52,8 @@ module @globals {
func.func @use_global() {
// CHECK-NEXT: emitc.get_global @public_global : !emitc.array<3x7xf32>
%0 = memref.get_global @public_global : memref<3x7xf32>
+ // CHECK- NEXT: emitc.get_global @__constant_xi32 : !emitc.lvalue<i32>
+ %1 = memref.get_global @__constant_xi32 : memref<i32>
----------------
jpienaar wrote:
Just to check, so previously `memref<1xi32>` worked, but `memref<i32>` didn't work before this?
https://github.com/llvm/llvm-project/pull/148055
More information about the Mlir-commits
mailing list