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

Optimize input-output alias #1292

Merged
merged 2 commits into from
May 17, 2024
Merged

Optimize input-output alias #1292

merged 2 commits into from
May 17, 2024

Conversation

eedalong
Copy link
Collaborator

@eedalong eedalong commented Apr 15, 2024

The key is to expand args_mutation op before GPU code-gen.

}
};

struct DiscArgsMutationExpandPass
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems only a lhlo op rewriter, can we keep it in the LhloOpRewriter Pass? Let's use a unique pass only if much more related to op conversion.

Copy link
Collaborator

@Yancey1989 Yancey1989 left a comment

Choose a reason for hiding this comment

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

LGTM

@eedalong eedalong merged commit b90fb75 into alibaba:main May 17, 2024
11 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.

2 participants