JIT: fix interaction of PGO and jitstress (#47876)
authorAndy Ayers <andya@microsoft.com>
Fri, 5 Feb 2021 01:53:41 +0000 (17:53 -0800)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 01:53:41 +0000 (17:53 -0800)
commit5b41e82f5871fe4769310fd2b616f8e100ddeb89
treea49d6569bfc097495e8b4c1652e65ac2533e7536
parent9a283e1878082771dfb0896572013cc157d4d742
JIT: fix interaction of PGO and jitstress (#47876)

We always need to run the profile data phase so that jit stress can inject
random profile counts if it so chooses.

Also, clean up a few dumping nits -- don't dump the profile query status until
we get around to trying to incorporate counts; summarize schema records before
asserting that we must have block counts, etc.

Closes #47839
src/coreclr/jit/compiler.cpp
src/coreclr/jit/compiler.h
src/coreclr/jit/fgbasic.cpp
src/coreclr/jit/fgprofile.cpp