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

[Kanagawa] Remove %this #8097

Merged
merged 1 commit into from
Jan 21, 2025
Merged

[Kanagawa] Remove %this #8097

merged 1 commit into from
Jan 21, 2025

Conversation

mortbopet
Copy link
Contributor

%this and the ThisOp isn't being used in practice, and is now pure overhead. This PR removes the ThisOp operation and any associated capabilities. Most notably, this includes referencing ports of the current scope, within the current scope, through get_port on the ThisOp. This, again, is a redundant pattern, that anyways were being canonicalized away to just directly reference the port.

`%this` and the `ThisOp` isn't being used in practice, and is now pure overhead. This PR removes the `ThisOp` operation and any associated capabilities. Most notably, this includes referencing ports of the current scope, within the current scope, through `get_port` on the `ThisOp`. This, again, is a redundant pattern, that anyways were being canonicalized away to just directly reference the port.
Copy link
Contributor

@blakep-msft blakep-msft left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@mortbopet mortbopet merged commit 443f007 into main Jan 21, 2025
5 checks passed
@mortbopet mortbopet deleted the dev/mpetersen/remove_kanagawa_this branch January 21, 2025 08: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