Move LOAD_SMALL_INT
optimization from codegen to CFG
#130480
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
Addressing #129568 (comment)
Currently both codegen & peepholer optimize
LOAD_CONST
for small integers toLOAD_SMALL_INT
. CFG can do it alone, so we don't have this logic in 2 places.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
LOAD_SMALL_INT
optimization from codegen to CFG #130481The text was updated successfully, but these errors were encountered: