[PATCH] D99727: [NFC][LoopVectorize] Remove unnecessary VF.isScalable asserts

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 07:05:11 PDT 2021


sdesmalen added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2713
 
+  assert(((!MaskForGaps && !BlockInMask) || !VF.isScalable()) &&
+         "Interleaving with masks not yet supported for scalable vectors");
----------------
You can remove this assert, because VF is already guaranteed to be not-scalable from line 2656.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99727



More information about the llvm-commits mailing list