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

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 10:27:39 PST 2022


Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.

This looks fine, with a minor comment.



================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2620
   // Determine the number of scalars we need to generate for each unroll
   // iteration. If EntryVal is uniform, we only need to generate the first
   // lane. Otherwise, we generate all VF values.
----------------
Update comment as EntryVal is no longer checked? In fact, it need not be passed in.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116554



More information about the llvm-commits mailing list