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

Disable CopyProp on Memory Loads #114

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Disable CopyProp on Memory Loads #114

merged 1 commit into from
Dec 10, 2024

Conversation

ncough
Copy link
Collaborator

@ncough ncough commented Dec 10, 2024

CopyProp would propagate memory loads to eliminate temporary variables.
This seems generally useless and a point of confusion, given we generally want to treat these as side-effecting operations.
In particular, this transform turned a single load during a CAS operation into multiple, due to multiple uses of the loaded temporary.

@ncough ncough merged commit 797aeb5 into partial_eval Dec 10, 2024
4 checks passed
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.

1 participant