[llvm] [CycleInfo] Remove GenericCycle::TopLevelCycle. NFC (PR #209677)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 15 18:50:03 PDT 2026
================
@@ -311,9 +308,6 @@ void GenericCycleInfo<ContextT>::moveTopLevelCycleToNewParent(CycleT *NewParent,
*Pos = std::move(CurrentContainer.back());
CurrentContainer.pop_back();
Child->ParentCycle = NewParent;
- Child->TopLevelCycle = NewParent;
- for (CycleT *Cycle : depth_first(Child))
----------------
MaskRay wrote:
Merging #209847 as a straightforward follow-up cleanup
https://github.com/llvm/llvm-project/pull/209677
More information about the llvm-commits
mailing list