Open jwallwork23 opened 1 month ago
@jwallwork23 Isn't this equivalent to the Loop.independent_iterations method? (I think we considered this name for that method but decided the independent iterations could be more generic)
@jwallwork23 Isn't this equivalent to the Loop.independent_iterations method? (I think we considered this name for that method but decided the independent iterations could be more generic)
Oh good, if there is already an equivalent method then that's one less thing to merge in :) Thanks!
Attention: Patch coverage is 96.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 99.86%. Comparing base (
8367de1
) to head (32dba72
). Report is 231 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/psyclone/psyir/nodes/loop.py | 96.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Partially addresses #2717.
This PR merges functions from the
loop
module of PSyACC into PSyclone:is_outermost
checks that the Loop doesn't have any ancestors which are Loops.is_perfectly_nested
checks that the Loop nest starting at a given Loop is "loops all the way down" until the last.is_simple
checks that a Loop nest is perfect and that the deepest level only contains literal assignments (i.e., the loop nest is trivially parallelisable).nest_variable_names
extracts the tuple of variable names for the Loop nest starting at a given Loop.