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

[Backend] Remove extra call to emitIndices. #3529

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

jlebar
Copy link
Collaborator

@jlebar jlebar commented Apr 1, 2024

[Backend] Remove extra call to emitIndices.

storeDistributedToShared and loadSharedToDistributed both accepted a list of
indices and then didn't use them. (Instead, they create the indices
themselves, lower in the callstack.)

Remove these, which removes a bunch of unneded IR.

While we're here, we also fix incorrect use of static in Utility.h.

PR chain

  1. 👉 [Backend] Remove extra call to emitIndices. #3529 👈 YOU ARE HERE

storeDistributedToShared and loadSharedToDistributed both accepted a list of
indices and then didn't use them.  (Instead, they create the indices
themselves, lower in the callstack.)

Remove these, which removes a bunch of unneded IR.

While we're here, we also fix incorrect use of `static` in Utility.h.

GPC: extra-emit-indices
@jlebar jlebar requested review from ThomasRaoux and removed request for Superjomn, ptillet and goostavz April 1, 2024 23:29
@jlebar jlebar enabled auto-merge (squash) April 1, 2024 23:29
Copy link
Collaborator

@ThomasRaoux ThomasRaoux left a comment

Choose a reason for hiding this comment

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

LGTM

@jlebar jlebar merged commit 7d54e76 into main Apr 1, 2024
5 checks passed
@jlebar jlebar deleted the dev-jlebar/extra-emit-indices branch April 1, 2024 23: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