Skip to content

Commit e915a81

Browse files
committed
Address review comment
1 parent a1f8aa6 commit e915a81

File tree

1 file changed

+3
-1
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+3
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3773,7 +3773,9 @@ class VPlan {
37733773
VPBasicBlock *getEntry() { return Entry; }
37743774
const VPBasicBlock *getEntry() const { return Entry; }
37753775

3776-
/// Methods to support access to the middle block.
3776+
/// Returns the 'middle' block of the plan, that is the block that selects
3777+
/// whether to execute the scalar tail loop or the exit block from the loop
3778+
/// latch.
37773779
const VPBasicBlock *getMiddleBlock() const {
37783780
return cast<VPBasicBlock>(getVectorLoopRegion()->getSingleSuccessor());
37793781
}

0 commit comments

Comments
 (0)