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

[IR] [refactor] Unify field names in load/store/atomic statements #2250

Merged
merged 8 commits into from
Apr 8, 2021

Conversation

xumingkuan
Copy link
Contributor

Related issue = #2193

This PR renames GlobalLoadStmt/LocalLoadStmt::ptr -> src, GlobalStoreStmt/LocalStoreStmt::ptr -> dest, GlobalStoreStmt/LocalStoreStmt::data -> val.

Also renames some local variables using these fields and changes a few comments.

[Click here for the format server]


Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

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

LGTM!

taichi/ir/statements.h Outdated Show resolved Hide resolved
@xumingkuan xumingkuan requested review from taichi-gardener and removed request for taichi-gardener April 8, 2021 06:01
@xumingkuan
Copy link
Contributor Author

Why is @taichi-gardener not working?

@xumingkuan
Copy link
Contributor Author

xumingkuan commented Apr 8, 2021

Well... it seems that @taichi-gardener has a different format from the CI.

@xumingkuan xumingkuan removed the request for review from taichi-gardener April 8, 2021 06:07
@xumingkuan xumingkuan merged commit 7e54f56 into taichi-dev:master Apr 8, 2021
@xumingkuan xumingkuan mentioned this pull request Apr 13, 2021
@xumingkuan xumingkuan deleted the field-name branch June 26, 2021 08:23
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.

3 participants