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

JIT: Disallow SCEV analysis of non-values #108603

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

jakobbotsch
Copy link
Member

SCEV analysis would allow stores either via simple add-rec handling or by forwarding to the data of the store. Given that stores are not values this is odd behavior that has bitten me while consuming the analysis package.

Switch the analysis to return nullptr for stores; instead add handling for GT_PHI in the places where it was needed.

SCEV analysis would allow stores either via simple add-rec handling or
by forwarding to the data of the store. Given that stores are not values
this is odd behavior that has bitten me while consuming the analysis
package.

Switch the analysis to return nullptr for stores; instead add handling
for `GT_PHI` in the places where it was needed.
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Oct 7, 2024
Copy link
Contributor

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

@jakobbotsch jakobbotsch marked this pull request as ready for review October 7, 2024 18:01
@jakobbotsch
Copy link
Member Author

jakobbotsch commented Oct 7, 2024

cc @dotnet/jit-contrib PTAL @AndyAyersMS

No diffs.

@jakobbotsch
Copy link
Member Author

/ba-g runtime-dev-innerloop is stuck, rest succeeded

@jakobbotsch jakobbotsch merged commit 770df10 into dotnet:main Oct 8, 2024
106 of 108 checks passed
@jakobbotsch jakobbotsch deleted the scev-analysis-no-stores branch October 8, 2024 09:21
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants