JIT: allow inlinee profile scale-up (#48280)
authorAndy Ayers <andya@microsoft.com>
Tue, 16 Feb 2021 03:58:01 +0000 (19:58 -0800)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 03:58:01 +0000 (19:58 -0800)
commit694f40fa0abcbf2b59ae81d66dbd72d95a8e0f94
tree59b8b5b9597f483740256f28458b166c8f638551
parent39afd1f46f8f03582b0414591ff7a1e2f1809979
JIT: allow inlinee profile scale-up (#48280)

We can't always be sure that callee entry counts will be greater than or equal
to call site counts. For example a callee could be tiered up before a caller,
and so have relatively smaller counts.

So, when computing inline scale, allow callee counts to be scaled up as well as
scaled down.
src/coreclr/jit/fgprofile.cpp