[PATCH] D53355: Introducing VPPHINode
Nikolay Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 16 19:05:25 PDT 2018
npanchen created this revision.
npanchen added reviewers: rengolin, fhahn, hsaito, dcaballe, sguggill.
Herald added subscribers: llvm-commits, rogfer01, bollu.
[VPlan] Added VPPHINode class that is constructed and used to represent phi-nodes.
Detailed description:
Current representation of phi-nodes in VPlan completely depends on underlying IR, which means that any VPlan xform has to generate PHINode instruction that contradicts to VPlan's philosophy "Don't generate any IR instruction before decision is taken."
In this patch VPPHINode is constructed for phi-nodes and underlying IR is still used in CG.
In a next patch CG will be fixed so that it will not use underlying IR.
Repository:
rL LLVM
https://reviews.llvm.org/D53355
Files:
lib/Transforms/Vectorize/LoopVectorizationPlanner.h
lib/Transforms/Vectorize/VPlan.cpp
lib/Transforms/Vectorize/VPlan.h
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53355.169931.patch
Type: text/x-patch
Size: 9153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181017/71516ad5/attachment.bin>
More information about the llvm-commits
mailing list