================ @@ -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:
I'd separate the drive-by fix from the topic of this PR. You can do a follow-up "NFC" PR with just this. It adds an extra mental step for folks looking later at this change and trying to understand how this member static-ness relates to the topic of the PR. 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