[llvm-branch-commits] [flang] [flang][OpenMP] Implement nest depth calculation in LoopSequence (PR #185298)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 12 05:51:07 PDT 2026
================
@@ -125,11 +125,21 @@ struct LoopSequence {
: allowAllLoops_(allowAllLoops) {
entry_ = std::make_unique<Construct>(range, nullptr);
createChildrenFromRange(entry_->location);
- length_ = calculateLength();
+ calculateEverything();
}
+ struct Depth {
+ // If this sequence is a nest, the depth of the Canonical Loop Nest rooted
+ // at this sequence. Otherwise unspecified.
----------------
Meinersbur wrote:
Consider using doxgen comments, so they can appear at https://flang.llvm.org/doxygen
https://github.com/llvm/llvm-project/pull/185298
More information about the llvm-branch-commits
mailing list