[PATCH] D50823: [VPlan] Introduce VPCmpInst sub-class in the instruction-level representation
Diego Caballero via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 15 17:12:13 PDT 2018
dcaballe created this revision.
dcaballe added reviewers: Ayal, fhahn, rengolin, hsaito.
Herald added subscribers: llvm-commits, rogfer01, rkruppe, tschuett, bollu.
This patch introduces VPCmpInst, a sub-class of VPInstruction used to model details of comparison instructions in VPlan, such as the comparison's predicate. At this point, we don't see the need of distinguishing between integer and floating point comparison at VPlan representation level.
VPCmpInst is needed in https://reviews.llvm.org/D50480 to properly model a new compare VPInstruction (i.e., a compare that is not part of the input IR) generated during the vectorization process.
Repository:
rL LLVM
https://reviews.llvm.org/D50823
Files:
lib/Transforms/Vectorize/LoopVectorizationPlanner.h
lib/Transforms/Vectorize/VPlan.h
lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50823.160945.patch
Type: text/x-patch
Size: 5260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/fb4a09f9/attachment.bin>
More information about the llvm-commits
mailing list