Open AndyAyersMS opened 1 year ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Author: | AndyAyersMS |
---|---|
Assignees: | - |
Labels: | `area-CodeGen-coreclr`, `untriaged` |
Milestone: | - |
@BruceForstall FYI cc @dotnet/jit-contrib
In #74081 (comment) we see a loop where the very first thing in the loop body is a loop-invariant null check.
In https://github.com/dotnet/runtime/issues/74081#issuecomment-1555407459 we see a loop where the very first thing in the loop body is a loop-invariant null check. We should be able to hoist this and other similar exception-causing trees into the preheader provided the exceptions happen before any side effect.