Skip to content

[mypyc] translate call_emit primitive ops to CallC #9012

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

Merged
merged 3 commits into from
Jun 17, 2020
Merged

[mypyc] translate call_emit primitive ops to CallC #9012

merged 3 commits into from
Jun 17, 2020

Conversation

TH3CHARLie
Copy link
Collaborator

@TH3CHARLie TH3CHARLie commented Jun 17, 2020

relate mypyc/mypyc#734

This PR translates PrimitiveOps with call_emit, which can be represented by CallC pretty straightforwardly, to CallC. Mostly translating the description.

After this PR and another following PR which handles the ones whose descriptions are explicitly used in irbuild, we'll able to see what's missing for CallC by analyzing the remaining primitives.

@TH3CHARLie TH3CHARLie changed the title [mypyc] translate primitive ops with call_emit to CallC [mypyc] translate call_emit primitive ops to CallC Jun 17, 2020
Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Looks great, just a few small nits. This makes the IR much cleaner.

@TH3CHARLie TH3CHARLie requested a review from JukkaL June 17, 2020 10:40
@JukkaL JukkaL merged commit a810e0c into python:master Jun 17, 2020
@TH3CHARLie TH3CHARLie deleted the merge-ops branch June 20, 2020 10:37
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