Skip to content

Commit

Permalink
[JIT] Improve inliner: new heuristics, rely on PGO data (#52708)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Ayers <andya@microsoft.com>
  • Loading branch information
EgorBo and AndyAyersMS authored Jul 1, 2021
1 parent 6110913 commit cf2938f
Show file tree
Hide file tree
Showing 11 changed files with 1,313 additions and 551 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/jit/compiler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

inline bool Compiler::lvaHaveManyLocals() const
{
return (lvaCount >= lclMAX_TRACKED);
return (lvaCount >= (unsigned)JitConfig.JitMaxLocalsToTrack());
}

/*****************************************************************************
Expand Down
Loading

0 comments on commit cf2938f

Please sign in to comment.