[PATCH] D95139: [SVE][LoopVectorize] Add support for extracting the last lane of a scalable vector

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 08:41:34 PST 2021


david-arm marked 4 inline comments as done.
david-arm added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/VPlan.h:187
 
-  bool isFirstIteration() const { return Part == 0 && Lane == 0; }
+  bool isFirstIteration() const { return Part == 0 && Lane.isFirstLane(); }
 };
----------------
sdesmalen wrote:
> nit: is `isFirstIteration` unused now?
It's still used in two places so I've left this in.


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

https://reviews.llvm.org/D95139



More information about the llvm-commits mailing list