FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-130415: Remove redundant `sym_matches_type` calls in the JIT optimizer by brandtbucher · Pull Request #131778 · python/cpython · GitHub

Repository navigation

GH-130415: Remove redundant sym_matches_type calls in the JIT optimizer - #131778

Merged
brandtbucher merged 1 commit into
python:mainfrom
brandtbucher:jit-opt-type-checks
Mar 27, 2025
Merged

brandtbucher merged 1 commit into
python:mainfrom
brandtbucher:jit-opt-type-checks

Conversation

brandtbucher commented Mar 26, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

These should already be narrowed by a previous guard. If we made a mistake somewhere, the asserts inside the body of the if will catch it.

brandtbucher added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) topic-JIT labels Mar 26, 2025
brandtbucher self-assigned this Mar 26, 2025

Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think this should be fine. After all the uops only occur after a guard.

brandtbucher merged commit 972a295 into python:main Mar 27, 2025
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news topic-JIT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL