Skip to content

Conversation

@reidenong
Copy link
Contributor

@reidenong reidenong commented Jan 22, 2026

This uses the new predicate optimizer symbol to narrow types to constants in branches involving comparisons with a constant.

This PR provides the implementation for _COMPARE_OP_INT , _COMPARE_OP_STR, _COMPARE_OP_FLOAT.

@reidenong
Copy link
Contributor Author

After discussion with Ken Jin I will be adding implementations for all _COMPARE_OP_* in this PR

@reidenong reidenong changed the title gh-130415: Narrow types to constants in branches involving comparisons with a constant gh-130415: Narrow types to constants in branches involving specialized comparisons with a constant Jan 22, 2026
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