[Mlir-commits] [mlir] [MLIR][LLVMIR] Add support for empty global ctor/dtor lists (PR #128969)
Bruno Cardoso Lopes
llvmlistbot at llvm.org
Thu Feb 27 10:58:15 PST 2025
bcardosolopes wrote:
> Given that `llvm::appendToGlobalCtors` ignores empty lists, this seems like only half way supported.
FWIW, `llvm-as` doesn't use the utilities from `llvm/lib/Transforms/Utils/ModuleUtils.cpp` in order to build this, it calls into creating a global variable from scratch (which handles this case nicely)
https://github.com/llvm/llvm-project/pull/128969
More information about the Mlir-commits
mailing list