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

optimizer: switch to more general data structure of SSADefUse #44730

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

aviatesk
Copy link
Sponsor Member

Now (du::SSADefUse).uses field can contain arbitrary "usages" to be eliminated.
This structure might be helpful for implementing array SROA, for example.
Also slightly tweaks the implementation of ccall preserve elimination.

/cc @vtjnash what do you think on this version?

Now `(du::SSADefUse).uses` field can contain arbitrary "usages" to be
eliminated.
This structure might be helpful for implementing array SROA, for
example.
Also slightly tweaks the implementation of `ccall` preserve elimination.
Copy link
Sponsor Member

@vtjnash vtjnash left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me

@aviatesk aviatesk merged commit b449ea5 into master Mar 25, 2022
@aviatesk aviatesk deleted the avi/generalssadef branch March 25, 2022 02:26
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