-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilize VN-based non-null knowledge better
Previously, global non-null assertion propagation would give up on any non-"ADD(LCL_VAR, CONST)"-like trees. This is correct for actual assertion-based propagation (since we record assertions based on conservative VNs and those propagate only through locals), but is unnecessarily conservative when it comes to utilizing non-nullness provided by VN. Fix this by moving the IR checks after the VN check.
- Loading branch information
1 parent
748dfb7
commit 21ea0b2
Showing
1 changed file
with
16 additions
and
21 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