dotnet/runtime
Auf GitHub ansehenRemove JIT-workaround for eliminating bound check
Open
#67.044 geöffnet am 23. März 2022
area-CodeGen-coreclrenhancementhelp wanted
Repository-Metriken
- Stars
- (17.886 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 12T 11h) (661 gemergte PRs in 30 T)
Beschreibung
https://github.com/dotnet/runtime/pull/62864 taught the JIT to recognize more pattern to eliminate bound checks for array and span indexing. Thus the workarounds like the uint-casts aren't needed anymore, and could be undone.
Also cf. https://github.com/dotnet/runtime/pull/64899#discussion_r833378404
category:cq theme:bounds-checks skill-level:beginner cost:small impact:small