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 958de20 commit eb59fe8Copy full SHA for eb59fe8
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -3413,7 +3413,7 @@ void VPReductionPHIRecipe::execute(VPTransformState &State) {
3413
// TODO: The sentinel value is not always necessary. When the start value is
3414
// a constant, and smaller than the start value of the induction variable,
3415
// the start value can be directly used to initialize the reduction phi.
3416
- StartV = Iden = StartV;
+ Iden = StartV;
3417
if (!ScalarPHI) {
3418
IRBuilderBase::InsertPointGuard IPBuilder(Builder);
3419
Builder.SetInsertPoint(VectorPH->getTerminator());
0 commit comments