]> granicus.if.org Git - llvm/commit
[VPlan] Add moveAfter to VPRecipeBase.
authorFlorian Hahn <flo@fhahn.com>
Fri, 11 Oct 2019 15:36:55 +0000 (15:36 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 11 Oct 2019 15:36:55 +0000 (15:36 +0000)
commitde27297d8452a3caa6e1c5dfbc9853a7f01107cf
treec6b6bdd983ccb16eb1d906961a3b1a2620d572bb
parentf6f4d20ff0fc7780e6531cc7f3d7c801179a11bb
[VPlan] Add moveAfter to VPRecipeBase.

This patch adds a moveAfter method to VPRecipeBase, which can be used to
move elements after other elements, across VPBasicBlocks, if necessary.

Reviewers: dcaballe, hsaito, rengolin, hfinkel

Reviewed By: dcaballe

Differential Revision: https://reviews.llvm.org/D46825

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/VPlan.cpp
lib/Transforms/Vectorize/VPlan.h
unittests/Transforms/Vectorize/VPlanTest.cpp