-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jit: Remove bounds checks with tests against length. (#40180)
* Introduce a concept of minimum array length into range check * Some cleanup * fix potential underflow * bug fix and cleanup * Revert string changes * Allow elimination of arr[0] with len != 0 test * Revert "Revert string changes" This reverts commit 6f77bf8. * Fix up tests * reverting lower bound merging as it may be unsound * Fix CI exposed bug and add a couple of test cases * code review feedback * comment nit * feedback * Add missing break
- Loading branch information
1 parent
d1c0fa8
commit 30e643e
Showing
7 changed files
with
699 additions
and
56 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
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
Oops, something went wrong.