[llvm] [SLP] Initial vectorization of non-power-of-2 ops. (PR #77790)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 09:46:03 PST 2024
================
@@ -14036,10 +14084,22 @@ bool SLPVectorizerPass::vectorizeStores(ArrayRef<StoreInst *> Stores,
unsigned Sz = 1 + Log2_32(MaxVF) - Log2_32(MinVF);
SmallVector<unsigned> CandidateVFs(Sz);
+ auto VFsToFill = make_range(CandidateVFs.begin(), CandidateVFs.end());
----------------
alexey-bataev wrote:
Why need to use VFsToFill, why CandidateVFs cannot be used directly?
https://github.com/llvm/llvm-project/pull/77790
More information about the llvm-commits
mailing list