JIT: allow block cloning opt in methods with EH (dotnet/coreclr#27088)
authorAndy Ayers <andya@microsoft.com>
Wed, 9 Oct 2019 22:34:54 +0000 (15:34 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 22:34:54 +0000 (15:34 -0700)
commit80cb4348961ad4e3d43f4c40d505d27df545699b
treee479b5530b3af2b175b99a78dc9ffb95785c88ab
parentcd34f0257417e29e37499746380a7e3b05609b75
JIT: allow block cloning opt in methods with EH (dotnet/coreclr#27088)

Update `fgOptimizeUncondBranchToSimpleCond` to handle methods with EH. Also
rework the helpers a bit to make them more time-efficient.

Commit migrated from https://github.com/dotnet/coreclr/commit/60ff0227b75495561269ee1b28d32d9431e62691
src/coreclr/src/jit/flowgraph.cpp