]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-144179: Use recorded values to make optimizer more robust (GH-144437)
authorMark Shannon <Mark.Shannon@arm.com>
Thu, 5 Feb 2026 08:58:41 +0000 (08:58 +0000)
committerGitHub <noreply@github.com>
Thu, 5 Feb 2026 08:58:41 +0000 (08:58 +0000)
commitb53fc7caa6f41bf3bd7df7d2bd947cbbe670c352
treed1c21d603beee9fc25110b62de8a39a154004c64
parentb6d8aa436b0108fcc90cb13f9be864cfd4ea2ca7
GH-144179: Use recorded values to make optimizer more robust (GH-144437)

* Add three new symbol kinds
* Do not smuggle code object in _PUSH_FRAME operand
* Fix small bug in predicate analysis
16 files changed:
Include/internal/pycore_opcode_metadata.h
Include/internal/pycore_optimizer.h
Include/internal/pycore_optimizer_types.h
Include/internal/pycore_uop_ids.h
Include/internal/pycore_uop_metadata.h
Lib/test/test_capi/test_opt.py
Modules/_testinternalcapi/test_cases.c.h
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/optimizer.c
Python/optimizer_analysis.c
Python/optimizer_bytecodes.c
Python/optimizer_cases.c.h
Python/optimizer_symbols.c
Python/record_functions.c.h