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
// Connect entry only to vector preheader initially. Entry will also be connected to the scalar preheader later, during skeleton creation when runtime guards are added as needed.
866
-
// Note that when executing the VPlan for an epilogue vector loop, the original entry block here will be replaced by a new VPIRBasicBlock wrapping the entry to the epilogue vector loop after generating code for the main vector loop.
865
+
// Connect entry only to vector preheader initially. Entry will also be
866
+
// connected to the scalar preheader later, during skeleton creation when
867
+
// runtime guards are added as needed. Note that when executing the VPlan for
868
+
// an epilogue vector loop, the original entry block here will be replaced by
869
+
// a new VPIRBasicBlock wrapping the entry to the epilogue vector loop after
Copy file name to clipboardExpand all lines: llvm/lib/Transforms/Vectorize/VPlan.h
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3845,7 +3845,9 @@ class VPlan {
3845
3845
3846
3846
/// Create initial VPlan, having an "entry" VPBasicBlock (wrapping
3847
3847
/// original scalar pre-header) which contains SCEV expansions that need
3848
-
/// to happen before the CFG is modified (when executing a VPlan for the epilogue vector loop, the original entry needs to be replaced by the new entry for the epilogue vector loop); a VPBasicBlock for the vector
3848
+
/// to happen before the CFG is modified (when executing a VPlan for the
3849
+
/// epilogue vector loop, the original entry needs to be replaced by the new
3850
+
/// entry for the epilogue vector loop); a VPBasicBlock for the vector
3849
3851
/// pre-header, followed by a region for the vector loop, followed by the
3850
3852
/// middle VPBasicBlock. If a check is needed to guard executing the scalar
3851
3853
/// epilogue loop, it will be added to the middle block, together with
@@ -4176,6 +4178,8 @@ class VPBlockUtils {
4176
4178
unsigned PredIdx = -1u, unsigned SuccIdx = -1u) {
4177
4179
assert((From->getParent() == To->getParent()) &&
4178
4180
"Can't connect two block with different parents");
0 commit comments