File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -9144,7 +9144,6 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
9144
9144
continue ;
9145
9145
9146
9146
const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor ();
9147
- StoreInst *IntermediateStore = RdxDesc.IntermediateStore ;
9148
9147
RecurKind Kind = RdxDesc.getRecurrenceKind ();
9149
9148
assert (!RecurrenceDescriptor::isAnyOfRecurrenceKind (Kind) &&
9150
9149
" AnyOf reductions are not allowed for in-loop reductions" );
@@ -9161,7 +9160,7 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
9161
9160
m_VPValue (), m_VPValue ())) ||
9162
9161
(isa<VPReplicateRecipe>(U) &&
9163
9162
cast<VPReplicateRecipe>(U)->getUnderlyingValue () ==
9164
- IntermediateStore)) &&
9163
+ RdxDesc. IntermediateStore )) &&
9165
9164
" U must be either an ExtractFromEnd VPInstruction or a "
9166
9165
" uniform store sourced from the intermediate store." );
9167
9166
continue ;
You can’t perform that action at this time.
0 commit comments