Skip to content

[mypyc] Refactor: add two list primitive ops #17058

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 5 commits into from
Mar 25, 2024
Merged

[mypyc] Refactor: add two list primitive ops #17058

merged 5 commits into from
Mar 25, 2024

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Mar 22, 2024

Add ops for getting list size and a pointer to list item data.

This simplifies the IR generated in the main irbuild pass. Continue work on mypyc/mypyc#854.

@JukkaL
Copy link
Collaborator Author

JukkaL commented Mar 25, 2024

I won't wait for a review, since this is a simple refactor. The PR is big only because many tests needed to be updated, and this was done using --update-data, so the changes were automated.

@JukkaL JukkaL merged commit 433e8c9 into master Mar 25, 2024
@JukkaL JukkaL deleted the mypyc-lowering-5 branch March 25, 2024 12:47
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.

1 participant