[llvm] [mlgo][inliner] Fix incorrect state tracking when deferring to the default policy (PR #163477)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 15 07:06:04 PDT 2025
================
@@ -214,6 +217,8 @@ MLInlineAdvisor::MLInlineAdvisor(
return;
}
ModelRunner->switchContext("");
+ if (StopImmediatelyForTest.getNumOccurrences() > 0)
----------------
mtrofin wrote:
Or just direct assignment. Wanted to deemphasise the flag, but the name says it all.
https://github.com/llvm/llvm-project/pull/163477
More information about the llvm-commits
mailing list