[flang-commits] [flang] [flang][OpenMP] Implement nest depth calculation in LoopSequence (PR #185298)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Thu Mar 12 07:08:19 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.
----------------
kparzysz wrote:
Done
https://github.com/llvm/llvm-project/pull/185298
More information about the flang-commits
mailing list