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

[mypyc] Fix ircheck if register is initialized through LoadAddress #13944

Merged
merged 1 commit into from Oct 26, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Oct 25, 2022

It's okay to take an address of a register, pass it to a function that initializes the register, and then read the register. Ircheck complained about an invalid op reference to register in this case. It affected at least async code.

It's okay to take an address of a register, pass it to a function that
initializes the register, and then read the register. Ircheck
complained about an invalid op reference to register in this case. It
affected at least async code.
@JukkaL JukkaL merged commit ec6d9d9 into master Oct 26, 2022
@JukkaL JukkaL deleted the ircheck-load-address branch October 26, 2022 11:27
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.

None yet

2 participants