[PATCH] D68577: [LV] Apply sink-after & interleave-groups as VPlan transformations (NFC)
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 07:27:22 PDT 2019
fhahn added a comment.
A while ago, I put up a patch to do sinking just on the VPInstruction/recipe level, but I never finished integrating it: D46826 <https://reviews.llvm.org/D46826>.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7079
+ VPRecipeBase *Sink = RecipeBuilder.getRecipe(Entry.first);
+ Sink->removeFromParent();
+ Sink->insertAfter(RecipeBuilder.getRecipe(Entry.second));
----------------
This could just be `Sink->moveAfter(RecipeBuilder.getRecipe(Entry.second)) `. I've added it in D46825 and now finally have a reason to commit it ;)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68577/new/
https://reviews.llvm.org/D68577
More information about the llvm-commits
mailing list