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 a871207 commit cdbef27Copy full SHA for cdbef27
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8717,7 +8717,7 @@ VPlanPtr LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(
8717
// to remove the need to keep a map of masks beyond the predication
8718
// transform.
8719
RecipeBuilder.updateBlockMaskCache(Old2New);
8720
- for (const auto &[Old, _] : Old2New)
+ for (VPValue *Old : Old2New.keys())
8721
Old->getDefiningRecipe()->eraseFromParent();
8722
8723
assert(isa<VPRegionBlock>(Plan->getVectorLoopRegion()) &&
0 commit comments