Preconditions.checkIndex() is intrinsified so C2 recognizes it as a range check and optimizes it accordingly. It's not the case of checkFromToIndex() and checkFromIndexSize(). Should they be intrinsified so range check elimination also applies to them?
C2: investigate intrinsification of Preconditions.checkFromToIndex() and Preconditions.checkFromIndexSize()
-
Unassigned
-
Roland Westrelin
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated: