File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6555,7 +6555,7 @@ void LoopVectorizationCostModel::collectValuesToIgnore() {
6555
6555
}
6556
6556
6557
6557
for (const auto &[_, Ops] : DeadInvariantStoreOps)
6558
- llvm::append_range (DeadOps, ArrayRef (Ops). drop_back ( ));
6558
+ llvm::append_range (DeadOps, drop_end (Ops));
6559
6559
6560
6560
// Mark ops that would be trivially dead and are only used by ignored
6561
6561
// instructions as free.
@@ -9097,7 +9097,7 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
9097
9097
// get folded to their non-phi operand, as the reduction recipe handles the
9098
9098
// condition directly.
9099
9099
VPSingleDefRecipe *PreviousLink = PhiR; // Aka Worklist[0].
9100
- for (VPSingleDefRecipe *CurrentLink : Worklist. getArrayRef (). drop_front ( )) {
9100
+ for (VPSingleDefRecipe *CurrentLink : drop_begin (Worklist )) {
9101
9101
if (auto *Blend = dyn_cast<VPBlendRecipe>(CurrentLink)) {
9102
9102
assert (Blend->getNumIncomingValues () == 2 &&
9103
9103
" Blend must have 2 incoming values" );
You can’t perform that action at this time.
0 commit comments