[llvm] [SLP] Initial vectorization of non-power-of-2 ops. (PR #77790)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 08:11:46 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());
----------------
fhahn wrote:
If we start with the regular power-of-2 VFs first, then in many cases we vectorize with a power-of-2 VF smaller than the non-power-of-2 one eagerly.
https://github.com/llvm/llvm-project/pull/77790
More information about the llvm-commits
mailing list