[PATCH] D90560: [VPlan] Use VPDef for VPWidenSelectRecipe.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 1 10:43:20 PST 2020


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

This patch turns updates VPWidenSelectRecipe to manage the value
it defines using VPDef. The VPValue is used  during VPlan
construction and codegeneration instead of the plain IR reference
where possible.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90560

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
  llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90560.302159.patch
Type: text/x-patch
Size: 6694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201101/05e17634/attachment.bin>


More information about the llvm-commits mailing list