◐ Shell
clean mode source ↗

GH-139757: JIT: Remove redundant branches to jumps in the assembly optimizer by markshannon · Pull Request #140800 · python/cpython

markshannon added a commit to markshannon/cpython that referenced this pull request

Dec 4, 2025

markshannon added a commit that referenced this pull request

Dec 4, 2025
* Refactor JIT assembly optimizer making instructions instances not just strings
* Remove redundant jumps and branches where legal to do so
* Modifies _BINARY_OP_SUBSCR_STR_INT to avoid excessive inlining depth

TEST_TEMPLATE: projects/python/templates/default
PYTHON_OPTIONS: --configure-flags "--enable-experimental-jit"

Jira: ENTLLT-8874
Change-Id: I605618c92814059bc63a1d16825a66d1824f3df2

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025

diegorusso