[VPlan] Add VPInstruction to VPRecipe transformation.
authorFlorian Hahn <florian.hahn@arm.com>
Mon, 18 Jun 2018 18:28:49 +0000 (18:28 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Mon, 18 Jun 2018 18:28:49 +0000 (18:28 +0000)
commit3385caaafd2ca0a85fadc589c0f7b63c9815c911
tree885f94f187f495d3b3ad0ccfd609cca83bb25fad
parent27510c18ad5ae0b476e06039d3ad49c6500c49bd
[VPlan] Add VPInstruction to VPRecipe transformation.

This patch introduces a VPInstructionToVPRecipe transformation, which
allows us to generate code for a VPInstruction based VPlan re-using the
existing infrastructure.

Reviewers: dcaballe, hsaito, mssimpso, hfinkel, rengolin, mkuper, javed.absar, sguggill

Reviewed By: dcaballe

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

llvm-svn: 334969
llvm/lib/Transforms/Vectorize/CMakeLists.txt
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp [new file with mode: 0644]
llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.h [new file with mode: 0644]
llvm/unittests/Transforms/Vectorize/CMakeLists.txt
llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp [new file with mode: 0644]