Skip to content

Commit 9039a40

Browse files
authored
Merge pull request #25385 from gottesmm/pr-ddab2b9f2264a250da17fb610ac59048c88eca7a
2 parents ba412a9 + 6575a92 commit 9039a40

File tree

1 file changed

+3
-2
lines changed
  • include/swift/SILOptimizer/Utils

1 file changed

+3
-2
lines changed

include/swift/SILOptimizer/Utils/CFG.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ bool rotateLoop(SILLoop *L, DominanceInfo *DT, SILLoopInfo *LI,
9696
bool RotateSingleBlockLoops, SILBasicBlock *UpTo,
9797
bool ShouldVerify);
9898

99-
/// Splits the basic block before the instruction with an unconditional
100-
/// branch and updates the dominator tree and loop info.
99+
/// Splits the basic block before the instruction with an unconditional branch
100+
/// and updates the dominator tree and loop info. Returns the new, branched to
101+
/// block that contains the end of \p SplitBeforeInst's block.
101102
SILBasicBlock *splitBasicBlockAndBranch(SILBuilder &B,
102103
SILInstruction *SplitBeforeInst,
103104
DominanceInfo *DT, SILLoopInfo *LI);

0 commit comments

Comments
 (0)