[PATCH] D88447: [VPlan] Switch VPWidenRecipe to be a VPValue

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 14:04:16 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: fhahn, gilr, Ayal, rengolin.
Herald added subscribers: bmahjour, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: LLVM.
dmgreen requested review of this revision.
Herald added a subscriber: vkmr.

Similar to other patches like D84680 <https://reviews.llvm.org/D84680>, this makes VPWidenRecipe a VPValue. Because of the way it interacts with the reduction code it also slightly alters the way that VPValues are registers, removing the up front NeedDef and using getOrAddVPValue to create them on-demand if needed instead.


https://reviews.llvm.org/D88447

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanValue.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88447.294802.patch
Type: text/x-patch
Size: 8626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200928/ac635273/attachment.bin>


More information about the llvm-commits mailing list