[Mlir-commits] [flang] [mlir] [MLIR][LLVMIR] Add support for the full form of global_{ctor, dtor} (PR #133176)
Bruno Cardoso Lopes
llvmlistbot at llvm.org
Thu Mar 27 10:34:06 PDT 2025
================
@@ -9,29 +9,38 @@ llvm.func @ctor() {
llvm.return
}
-// expected-error at +1{{mismatch between the number of ctors and the number of priorities}}
-llvm.mlir.global_ctors {ctors = [@ctor], priorities = []}
+// expected-error at +1{{ctors, priorities and data must have the same number of elements}}
----------------
bcardosolopes wrote:
hahah, epic explanation!
https://github.com/llvm/llvm-project/pull/133176
More information about the Mlir-commits
mailing list