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

Memory optimizations - store/load forwarding/elimination #727

Merged
merged 19 commits into from
Feb 12, 2025
Merged

Conversation

rtjoa
Copy link
Collaborator

@rtjoa rtjoa commented Feb 10, 2025

Greatly simplified alias analysis to do rewrites on consecutive memory ops.

:ruleset mem-simple)

; A load doesn't change the state
; TODO: why does this break weaklylinear?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an example of exactly this rule in the paper!

Copy link
Member

@oflatt oflatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@rtjoa rtjoa merged commit 85bb784 into main Feb 12, 2025
4 checks passed
@rtjoa rtjoa deleted the mem-simple branch February 12, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants