Skip to content
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: support cloning loop nests with multi-dimensional array accesses #71674

Open
Tracked by #65342
BruceForstall opened this issue Jul 5, 2022 · 1 comment
Open
Tracked by #65342
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@BruceForstall
Copy link
Member

BruceForstall commented Jul 5, 2022

As described in #60785, loop cloning should handle the case where a multi-dimensional (MD) array access occurs with a loop nest. Different from jagged arrays, with MD arrays, we should be able to hoist bounds checks out of an entire loop nest, as well as make the "fast path" loop assume arrays with lower bounds of zero (thus eliminating subtracting off the lower bound to get an "effective index").

category:cq
theme:md-arrays
skill-level:expert
cost:large
impact:large

@BruceForstall BruceForstall added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 5, 2022
@BruceForstall BruceForstall added this to the 8.0.0 milestone Jul 5, 2022
@BruceForstall BruceForstall self-assigned this Jul 5, 2022
@ghost
Copy link

ghost commented Jul 5, 2022

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

As described in #60785, loop cloning should handle the case where a multi-dimensional (MD) array access occurs with a loop nest. Different from jagged arrays, with MD arrays, we should be able to hoist bounds checks out of an entire loop nest, as well as make the "fast path" loop assume arrays with lower bounds of zero (thus eliminating subtracting off the lower bound to get an "effective index").

category:cq
theme:md-arrays
skill-level:expert
cost:large

Author: BruceForstall
Assignees: BruceForstall
Labels:

area-CodeGen-coreclr

Milestone: 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

1 participant