[PATCH] D98715: [LoopVectorize] Add support for scalable vectorization of induction variables

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 09:23:41 PDT 2021


ctetreau added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2536
           : VF.getKnownMinValue();
-  assert((!VF.isScalable() || Lanes == 1) &&
-         "Should never scalarize a scalable vector");
----------------
what happens in this case now? I see a bunch of branches that handle the case where Lanes is greater than 1, but nothing for when it equals 1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98715



More information about the llvm-commits mailing list