New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RyuJIT bounds checks not eliminated for readonly arrays #21951

Open
benaadams opened this Issue Jan 11, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@benaadams
Copy link
Collaborator

benaadams commented Jan 11, 2019

Range analysis doesn't take into account readonly arrays and you need to make a function local reference to eliminate the range check.

#5371 regressed due to #15756

It shouldn't need to be conservative for a readonly array?

/cc @briansull @AndyAyersMS @mikedn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment