You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that a next_accesses call on the a in a= i may point to the loop stop point. Since the loop start/stop/steps use the values before the loop - there is no forward_access here on the loop stop point.
I will note that while this behaviour definitely happens for while loops I think that is correct - I don't remember intentionally excluding it from happening for normal Loops so I need to check if this happens or not.
The text was updated successfully, but these errors were encountered:
LonelyCat124
changed the title
(Unconfirmed) find_foward_accesses find start/stop/step conditions of loops when searching backwards in loops for accesses.
(Unconfirmed) find_foward_accesses finds start/stop/step conditions of loops when searching backwards in loops for accesses.
Jan 28, 2025
I think that for code like:
that a next_accesses call on the
a
ina= i
may point to the loop stop point. Since the loop start/stop/steps use the values before the loop - there is no forward_access here on the loop stop point.I will note that while this behaviour definitely happens for while loops I think that is correct - I don't remember intentionally excluding it from happening for normal Loops so I need to check if this happens or not.
The text was updated successfully, but these errors were encountered: