Skip to content

[mypyc] Add GetElement op and other minor ir tweaks#20721

Merged
JukkaL merged 1 commit intomasterfrom
mypyc-get-element
Feb 2, 2026
Merged

[mypyc] Add GetElement op and other minor ir tweaks#20721
JukkaL merged 1 commit intomasterfrom
mypyc-get-element

Conversation

@JukkaL
Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL commented Feb 2, 2026

The GetElement op gets a struct field from a struct value, unlike GetElementPtr which takes a pointer to a struct.

These changes were extracted from mypyc vec type support branch, and aren't very useful by themselves. I'm splitting the branch into multiple PRs to simplify reviewing.

The `GetElement` op gets a struct field from a struct value, unlike
`GetElementPtr` which takes a pointer to a struct.

These changes were extracted from mypyc vec type support branch, and
aren't very useful by themselves. I'm splitting the branch into multiple
PRs to simplify reviewing.
@JukkaL JukkaL merged commit 7697023 into master Feb 2, 2026
16 checks passed
@JukkaL JukkaL deleted the mypyc-get-element branch February 2, 2026 14:11
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