================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits