We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1f8aa6 commit e915a81Copy full SHA for e915a81
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -3773,7 +3773,9 @@ class VPlan {
3773
VPBasicBlock *getEntry() { return Entry; }
3774
const VPBasicBlock *getEntry() const { return Entry; }
3775
3776
- /// Methods to support access to the middle block.
+ /// 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.
3779
const VPBasicBlock *getMiddleBlock() const {
3780
return cast<VPBasicBlock>(getVectorLoopRegion()->getSingleSuccessor());
3781
}
0 commit comments