[Mlir-commits] [mlir] Expand the MemRefToEmitC pass - Adding scalars (PR #148055)
Jaden Angella
llvmlistbot at llvm.org
Mon Jul 14 10:24:58 PDT 2025
================
@@ -41,6 +41,8 @@ func.func @memref_load(%buff : memref<4x8xf32>, %i: index, %j: index) -> f32 {
module @globals {
memref.global "private" constant @internal_global : memref<3x7xf32> = dense<4.0>
// CHECK-NEXT: emitc.global static const @internal_global : !emitc.array<3x7xf32> = dense<4.000000e+00>
+ memref.global "private" constant @__constant_xi32 : memref<i32> = dense<-1>
----------------
Jaddyen wrote:
Not yet. This would require changing those particular ops. I could circle back to this once we can completely lower the inliner model.
https://github.com/llvm/llvm-project/pull/148055
More information about the Mlir-commits
mailing list