OSDN Git Service

[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)
commitb838c5c3d3a82d6390758a914ef969fdad0e6ffc
tree021260c9f7e781425cddd75074fc62ceaa768cdc
parent697916073982c443f70efb1ed9d223a3aee57aeb
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334969 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/CMakeLists.txt
lib/Transforms/Vectorize/VPlan.h
lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp [new file with mode: 0644]
lib/Transforms/Vectorize/VPlanHCFGTransforms.h [new file with mode: 0644]
unittests/Transforms/Vectorize/CMakeLists.txt
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp [new file with mode: 0644]