[clang] [CIR] Implement initial LoweringPrepare support for global ctors (PR #161452)
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 3 12:04:16 PDT 2025
================
@@ -20,6 +20,10 @@
#include "clang/CIR/Interfaces/CIRTypeInterfaces.h"
+namespace cir {
+inline constexpr uint32_t DefaultGlobalCtorDtorPriority = 65535;
----------------
bcardosolopes wrote:
I don't think we need this: (a) it's not used in this PR and (b) can be done in tablegen level by assigning a default value for priorities.
https://github.com/llvm/llvm-project/pull/161452
More information about the cfe-commits
mailing list