Skip to content

Commit 42d9901

Browse files
authored
NFC: Add a comment indicating UpdateAnalysisInformation invalidates DFS Numbering (#91252)
1 parent dbcfa29 commit 42d9901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Utils/BasicBlockUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,7 @@ BasicBlock *llvm::splitBlockBefore(BasicBlock *Old, BasicBlock::iterator SplitPt
11411141
}
11421142

11431143
/// Update DominatorTree, LoopInfo, and LCCSA analysis information.
1144+
/// Invalidates DFS Numbering when DTU or DT is provided.
11441145
static void UpdateAnalysisInformation(BasicBlock *OldBB, BasicBlock *NewBB,
11451146
ArrayRef<BasicBlock *> Preds,
11461147
DomTreeUpdater *DTU, DominatorTree *DT,

0 commit comments

Comments
 (0)