JIT: produce consistent flow graph when producing or consuming profile data (#85860)
authorAndy Ayers <andya@microsoft.com>
Sat, 6 May 2023 14:53:10 +0000 (07:53 -0700)
committerGitHub <noreply@github.com>
Sat, 6 May 2023 14:53:10 +0000 (07:53 -0700)
commitae1be1247896d36fa5dde683b936a28fcfe16614
treed5bf7df57ada3563e0cdb340f9b7e107d57357a8
parent798f9ef5eb592e3db8acf26673f3ace108960221
JIT: produce consistent flow graph when producing or consuming profile data (#85860)

Always try and merge "branch to next" blocks when building the intial flow graph
if BBINSTR or BBOPT is set.

Fixes #85856.
src/coreclr/jit/compiler.h
src/coreclr/jit/fgbasic.cpp
src/coreclr/jit/fgprofile.cpp
src/coreclr/jit/importer.cpp
src/coreclr/jit/importercalls.cpp