forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: update non-null assertion prop to destructure VNs
In addition to checking for assertions based on the VN of an address, try and destructure the VN to find the "base" address, and check its VNs as well. This lets us get rid of some extra null checks, typically ones that are at an offset from an existing non-null pointer. Closes dotnet#49180.
- Loading branch information
1 parent
b0ba53a
commit 940a046
Showing
2 changed files
with
95 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters