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
{{ message }}
This repository was archived by the owner on Apr 28, 2023. It is now read-only.
makeScheduleTreeHelper: create iteration domain in parameter space first
The function makeIslAffBoundsFromExpr currently relies on the names
of the set dimensions in a space. Even though the dependence
is very localized and it is unlikely that those names would
get dropped, it is better to not rely on them at all.
Start by collecting the constraints on the outer loop iterators
in terms of parameters and only convert them into set dimensions
at the point where the iteration domain is constructed.
This means that at least during this part of the construction,
makeIslAffBoundsFromExpr only gets called on parameter spaces.
Treating the outer loop iterators as parameters at first
makes sense because they have a fixed value at the point
where the statement is executed.
It is only at the point where the iteration domain is constructed
that the loop iterators should no longer be considered as parameters.
Since the current loop index can no longer be extracted from
the set dimension, it is obtained from the number
of outer loop iterators instead.
0 commit comments