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 4e5c743 commit b87cf14Copy full SHA for b87cf14
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2429,6 +2429,10 @@ InnerLoopVectorizer::getOrCreateVectorTripCount(BasicBlock *InsertBlock) {
2429
return VectorTripCount;
2430
}
2431
2432
+/// Helper to connect both the vector and scalar preheaders to the vector
2433
+/// preheader's predecessor. This is used when adjusting \p Plan during skeleton
2434
+/// creation, i.e. adjusting the plan after introducing an initial runtime
2435
+/// check.
2436
static void connectScalarPreheaderInVPlan(VPlan &Plan) {
2437
VPBlockBase *VectorPH = Plan.getVectorPreheader();
2438
VPBlockBase *ScalarPH = Plan.getScalarPreheader();
0 commit comments