[Mlir-commits] [mlir] [MLIR] Split ExecutionEngine Initialization out of ctor into an explicit method call (PR #153524)

Shenghang Tsai llvmlistbot at llvm.org
Fri Aug 15 02:49:14 PDT 2025


================
@@ -193,10 +193,19 @@ llvm.func @foo() {
 // mlir-translate --mlir-to-llvmir:
 @binary_bin_cst = internal constant [6 x i8] c"AMDGPU", align 8
 @binary_func_kernel_name = private unnamed_addr constant [7 x i8] c"func\00", align 1
+ at binary_@module = internal global ptr null
+ at llvm.global_ctors = appending global [1 x {i32, ptr, ptr}] [{i32 123, ptr @binary_load, ptr null}]
+ at llvm.global_dtors = appending global [1 x {i32, ptr, ptr}] [{i32 123, ptr @binary_unload, ptr null}]
----------------
jackalcooper wrote:

> Do you want to provide an implementation for `@binary_unload` as well?

added

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


More information about the Mlir-commits mailing list