JIT: Template EH-specific checks in 3-opt layout#111437
JIT: Template EH-specific checks in 3-opt layout#111437amanasifkhalid merged 4 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
|
cc @dotnet/jit-contrib, @AndyAyersMS PTAL. No diffs. TP improvement is quite small (and almost nonexistent when compiling with MSVC), though this might help keep the cost of rerunning 3-opt down if we decide to implement some strategy for improving upon the single pass. Thanks! |
|
I'm reviving this since #112004 added some more hot EH checks in. That change also takes care to keep call-finally pairs together when reordering the block list, so we can relax the check in |
|
Small diffs from being able to consider edges out of |
3-opt performs various checks within hot loops to maintain EH invariants. Since we know beforehand if the method has EH regions or not, we can save a bit of throughput in the latter case by skipping these checks.