JIT: enable profile repairs of OSR entry block weight is zero (#86011)
authorAndy Ayers <andya@microsoft.com>
Tue, 9 May 2023 23:02:55 +0000 (16:02 -0700)
committerGitHub <noreply@github.com>
Tue, 9 May 2023 23:02:55 +0000 (16:02 -0700)
commit3747edb1812106f0b88a42b724c3e44b69dc79c4
tree45bbe4a4146d19e82dae1e1f41a2d9a63495b547
parentc0bb81807a3f4aeecfc63da31a32cc963ff0532c
JIT: enable profile repairs of OSR entry block weight is zero (#86011)

If the PGO solver finds the OSR entry block weight is zero, schedule the
method for profile repairs (similar to what we do for normal methods when
the method entry block weight is zero, see #84312).

Fixes #85838.
src/coreclr/jit/fgprofile.cpp