[clang] [llvm] Singleton hack of fixing static initialisation order ficaso (PR #154541)
Matheus Izvekov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 09:03:36 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) {
----------------
mizvekov wrote:
Looks like a nice drive-by fix, this function is not declared in any headers, it is only used in this file.
https://github.com/llvm/llvm-project/pull/154541
More information about the llvm-commits
mailing list