Before MaxLoopDepth was implicitly a relative value to the "base loop depth" of the SCoP, thus a SCoP at loop depth 2 containing one loop had a MaxLoopDepth of 1. Now the MinLoopDepth and MaxLoopDepth allow to reason about the absolute loop depth and in combination also about the relative loop depth.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Johannes,
the patch looks generally reasonable, even though it does not explain why the additional information is necessary. As the patch is rather simple, it should be OK to commit it in case you have a use case for it.
include/polly/ScopInfo.h | ||
---|---|---|
763 | Why do we need to add one only in case MinLoopDepth > 0? This may be worth a comment. |
Why do we need to add one only in case MinLoopDepth > 0? This may be worth a comment.