[clang] [llvm] Singleton hack of fixing static initialisation order ficaso (PR #154541)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 08:42:11 PDT 2025
================
@@ -126,7 +130,7 @@ const TensorSpec llvm::DefaultDecisionSpec =
TensorSpec::createSpec<int64_t>(DefaultDecisionName, {1});
const char *const llvm::RewardName = "delta_size";
-CallBase *getInlinableCS(Instruction &I) {
+static CallBase *getInlinableCS(Instruction &I) {
----------------
mtrofin wrote:
why make this `static`, is it part of the goals of this PR?
https://github.com/llvm/llvm-project/pull/154541
More information about the llvm-commits
mailing list