[clang] [llvm] Singleton hack of fixing static initialisation order ficaso (PR #154541)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 09:13:08 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) {
----------------
Dalmurii wrote:
I have found getInlinableCS not used by other sources or headers so I've made it static.
Could you tell me more proper solution?
https://github.com/llvm/llvm-project/pull/154541
More information about the llvm-commits
mailing list