Skip to content

Commit dda14f7

Browse files
committed
!fixup clarify type of getExitBlocks in comment.
1 parent 19efb90 commit dda14f7

File tree

1 file changed

+4
-2
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+4
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3837,8 +3837,10 @@ class VPlan {
38373837
return cast<VPBasicBlock>(getVectorLoopRegion()->getSingleSuccessor());
38383838
}
38393839

3840-
/// Return the exit blocks of the VPlan, that is leaf nodes except the scalar
3841-
/// header.
3840+
/// Return an iterator range over the VPIRBasicBlock wrapping the exit blocks
3841+
/// of the VPlan, that is leaf nodes except the scalar header. Defined in
3842+
/// VPlanHCFG, as the definition of the type needs access to the definitions
3843+
/// of VPBlockShallowTraversalWrapper.
38423844
auto getExitBlocks();
38433845

38443846
/// The trip count of the original loop.

0 commit comments

Comments
 (0)