[llvm] [mlgo][inliner] Fix potential concurrency issue in local ThinLTO + IR2Vec cases (PR #156120)
S. VenkataKeerthy via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 29 16:58:41 PDT 2025
================
@@ -475,7 +485,7 @@ std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) {
}
// This one would have been set up to be right at the end.
if (!InteractiveChannelBaseName.empty() && InteractiveIncludeDefault)
- *ModelRunner->getTensor<int64_t>(getFeatureMap().size()) =
+ *ModelRunner->getTensor<int64_t>(getFeatureMap().size() - 1) =
----------------
svkeerthy wrote:
Trying to understand.. why did this change?
https://github.com/llvm/llvm-project/pull/156120
More information about the llvm-commits
mailing list