getLoopIndex() is added to get the loop index of a given loop.
getLoopsAtDepth() is added to get the loops in the nest at a given depth.
Details
Details
- Reviewers
Meinersbur - Group Reviewers
Restricted Project - Commits
- rGcb6b9d3ae2cb: [LoopNest] Add new utilites
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Isn't it sufficient to return Loops[Depth - getOutermostLoop().getLoopDepth()]?