You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/lib/Transforms/Vectorize/VPlan.h
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -622,7 +622,8 @@ class VPBlockBase {
622
622
voidclearSuccessors() { Successors.clear(); }
623
623
624
624
/// Swap successors of the block. The block must have exactly 2 successors.
625
-
// TODO: This should be part of introducing conditional branch recipes rather than being independent.
625
+
// TODO: This should be part of introducing conditional branch recipes rather
626
+
// than being independent.
626
627
voidswapSuccessors() {
627
628
assert(Successors.size() == 2 && "must have 2 successors to swap");
628
629
std::swap(Successors[0], Successors[1]);
@@ -3767,7 +3768,8 @@ class VPlan {
3767
3768
/// VPBasicBlock corresponding to the original preheader. Used to place
3768
3769
/// VPExpandSCEV recipes for expressions used during skeleton creation and the
3769
3770
/// rest of VPlan execution.
3770
-
/// When this VPlan is used for the epilogue vector loop, the entry will be replaced by a new entry block created during skeleton creation.
3771
+
/// When this VPlan is used for the epilogue vector loop, the entry will be
3772
+
/// replaced by a new entry block created during skeleton creation.
3771
3773
VPBasicBlock *Entry;
3772
3774
3773
3775
/// VPIRBasicBlock wrapping the header of the original scalar loop.
@@ -3849,7 +3851,12 @@ class VPlan {
3849
3851
/// original scalar pre-header) which contains SCEV expansions that need
3850
3852
/// to happen before the CFG is modified (when executing a VPlan for the
3851
3853
/// epilogue vector loop, the original entry needs to be replaced by a new
3852
-
/// one); a VPBasicBlock for the vector pre-header, followed by a region for the vector loop, followed by the middle VPBasicBlock. If a check is needed to guard executing the scalar epilogue loop, it will be added to the middle block, together with VPBasicBlocks for the scalar preheader and exit blocks. \p InductionTy is the type of the canonical induction and used for related values, like the trip count expression.
3854
+
/// one); a VPBasicBlock for the vector pre-header, followed by a region for
3855
+
/// the vector loop, followed by the middle VPBasicBlock. If a check is needed
3856
+
/// to guard executing the scalar epilogue loop, it will be added to the
3857
+
/// middle block, together with VPBasicBlocks for the scalar preheader and
3858
+
/// exit blocks. \p InductionTy is the type of the canonical induction and
3859
+
/// used for related values, like the trip count expression.
0 commit comments