[PATCH] D116554: [VPlan] Use VPlan to check if only the first lane is used.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 04:31:24 PST 2022


fhahn updated this revision to Diff 403217.
fhahn added a comment.

Move back the vputils::onlyFirstLaneUsed definitions here from D116123 <https://reviews.llvm.org/D116123>. Also add onlyFirstLaneUsed to VPCanoicalIVPHIRecipe, as suggested in D116123 <https://reviews.llvm.org/D116123>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116554/new/

https://reviews.llvm.org/D116554

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/X86/conversion-cost.ll
  llvm/test/Transforms/LoopVectorize/X86/uniform_mem_op.ll
  llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll
  llvm/test/Transforms/LoopVectorize/loop-form.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116554.403217.patch
Type: text/x-patch
Size: 27111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/1e5e98dc/attachment.bin>


More information about the llvm-commits mailing list