-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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: Implement induction variable analysis #93143
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsThis analysis would be used for IV widening (#7312) as well as to help implement better arm64 post-increment addressing modes.
|
Will this allow the JIT to automatically achieve the same codegen for loops over eg. spans or arrays, that you can do today if you manually write them as a |
I hope the answer is "yes", either via this or other improvements to the JIT.
Hmmm... that's unfortunate. Maybe you could open an issue with this example (before, and after, and why the Unsafe version is faster), if you haven't already? |
#97865 adds an initial framework for IV analysis, but let's keep this issue open for strength reduction which I expect to work on in March. |
This analysis would be used for IV widening (#7312) as well as to help implement better arm64 post-increment addressing modes.
Strength reduction: Re-express "secondary" IVs involving multiplication into addition. Pre-requisite for general post-increment. May be an alternative to IV widening if secondary IVs appear as addresses.
The text was updated successfully, but these errors were encountered: