JIT: fix phase status for some minimal instrumentation cases (#85411)
authorAndy Ayers <andya@microsoft.com>
Wed, 26 Apr 2023 23:48:46 +0000 (16:48 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 23:48:46 +0000 (16:48 -0700)
commit7ffcee5308f6fbc85dbb3575c28d08c358d44180
tree89fc731836e2fc432992184618fb40767616c90f
parent243061899c20325a363f675eeb87615550f89102
JIT: fix phase status for some minimal instrumentation cases (#85411)

The instrumentation phase may modify the flow graph in anticipation of doing
some instrumentation, but then (because of minimal profiling) decide not to
instrument.

Make sure the phase status properly reflects that the phase made changes in
this case, and a few other cases where we exit early without actually doing
any instrumentation.

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