JIT: Ensure tail merging does not add preds to scratch block (#84353)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Wed, 5 Apr 2023 17:08:04 +0000 (19:08 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 17:08:04 +0000 (19:08 +0200)
commit30f75118df0677de48e4d62add768d875a198e21
tree30724bf649962deaa2fd8bdcb9f871b49adca6ad
parentda7fbb7668d3cba3f2995675c6e8f0ad38caa8cd
JIT: Ensure tail merging does not add preds to scratch block (#84353)

Fix issue seen in #83388 where tail merging ended up adding new
predecessors to the scratch block, making adding more "initialization
IR" impossible for downstream phases.
src/coreclr/jit/fgopt.cpp