Merging GET_ITER and GET_YIELD_FROM_ITER will allow optimizations applied to for loops for common types like lists to also be applied to yield from loops and allow better specialization of SEND improving JIT coverage.
To merge the two instructions, SEND will have to be modified to take an extra NULL input.
This is part of #145047
Linked PRs
Merging
GET_ITERandGET_YIELD_FROM_ITERwill allow optimizations applied toforloops for common types like lists to also be applied toyield fromloops and allow better specialization ofSENDimproving JIT coverage.To merge the two instructions,
SENDwill have to be modified to take an extraNULLinput.This is part of #145047
Linked PRs
GET_ITERandGET_YIELD_FROM_ITER#146120