]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-144651: Optimize the new uops added when recording values during tracing. (GH...
authorMark Shannon <Mark.Shannon@arm.com>
Thu, 19 Feb 2026 11:52:57 +0000 (11:52 +0000)
committerGitHub <noreply@github.com>
Thu, 19 Feb 2026 11:52:57 +0000 (11:52 +0000)
commit3f37b94c7377a971a063aaf13387b940cb4cac01
treeec9fdd1ba137a9ad37dffd35c14d10754b5b4f21
parent20caf1c08440684b618d2166022ae82b2db3b696
GH-144651: Optimize the new uops added when recording values during tracing. (GH-144948)

* Handle dependencies in the optimizer, not the tracer
* Strengthen some checks to avoid relying on optimizer for correctness
18 files changed:
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
Objects/codeobject.c
Objects/frameobject.c
Objects/funcobject.c
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/instrumentation.c
Python/optimizer.c
Python/optimizer_analysis.c
Python/optimizer_bytecodes.c
Python/optimizer_cases.c.h
Python/optimizer_symbols.c