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 bb81e6f commit 87cbef7Copy full SHA for 87cbef7
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -795,6 +795,8 @@ static void legalizeAndOptimizeInductions(VPlan &Plan) {
795
796
// Update scalar users of IV to use Step instead.
797
if (!HasOnlyVectorVFs) {
798
+ assert(!Plan.hasScalableVF() &&
799
+ "plans containing a scalar VF cannot also include scalable VFs");
800
WideIV->replaceAllUsesWith(Steps);
801
} else {
802
bool HasScalableVF = Plan.hasScalableVF();
0 commit comments