[PATCH] D88382: [VPlan] Turn VPReductionRecipe into a VPValue

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 27 11:53:04 PDT 2020


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

This converts the VPReductionRecipe into a VPValue, like other VPRecipe's in preparation for traversing def-use chains.

It doesn't yet change how the VPReductionRecipes are created. It will need to call replaceAllUsesWith from the original recipe they replace, but that is not done yet.


https://reviews.llvm.org/D88382

Files:
  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: D88382.294562.patch
Type: text/x-patch
Size: 6148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200927/ff9c6ea6/attachment.bin>


More information about the llvm-commits mailing list