| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Feel free to remove the composite uops altogether, including removing them from remove_unneeded_uops! |
Sorry, something went wrong.
|
Ah wait, it seems this is quite hard to remove from the unneeded ops pass without modifying it heavily. So let's skip that for now. Thanks! |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Thanks a lot!
Sorry, something went wrong.
|
Please fix the merge conflicts from the other PR. Thank you! |
Sorry, something went wrong.
|
Done :) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The composite uop definitions in bytecodes.c are kept for now — remove_unneeded_uops still produces them as intermediate forms during push/pop cancellation.
cpython/Python/optimizer_analysis.c
Lines 610 to 653 in 4ff8b07
Specifically, these composites chain through _POP_TOP_LOAD_CONST_INLINE_BORROW in the op_without_push / op_without_pop / op_without_pop_null tables:
Additionally, _LOAD_CONST_UNDER_INLINE(_BORROW) references _POP_TOP_LOAD_CONST_INLINE(_BORROW) as a target in op_without_push — those table entries would need updating too.
Once these dependents are decomposed, the definitions can be fully removed.