Tier 1 code generator doesn't track used values if named unused
#121784
Labels
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
The
_INIT_CALL_BOUND_METHOD_EXACT_ARGS
uop definition requires explicit code to force the function andself
to be written to memory, or the values are lost.This is because following uops do not use those values, so when they are used they are loaded from memory.
This can be fixed in one of two ways:
unused
forcing it to be explicitly named.unused
but cached values in the code generator, so that they are tracked properly.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
unused
, but is used and thus cached in a prior uop. #121788The text was updated successfully, but these errors were encountered: