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

gh-120619: Strength reduce _CHECK_FUNCTION #126856

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Nov 15, 2024

Small PR to strength reduce _CHECK_FUNCTION so it reads from operand instead of reading from the frame struct. This prevents _CHECK_FUNCTION from interfering with the partial evaluation later on. It interferes because once we remove the frame, there is no frame->func_obj to check anymore.

@Fidget-Spinner
Copy link
Member Author

@markshannon would you prefer this as its own PR, or would you prefer I merge this into the function inlining PR that I will be doing later?

@Fidget-Spinner
Copy link
Member Author

Sorry I realized this is logically incorrect.

@Fidget-Spinner Fidget-Spinner changed the title gh-120619: Hoist _CHECK_FUNCTION to frame sequence when possible gh-120619: Strength reduce _CHECK_FUNCTION Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant