[llvm] [SLP] Initial vectorization of non-power-of-2 ops. (PR #77790)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 11:39:12 PDT 2024


================
@@ -14798,14 +14843,23 @@ bool SLPVectorizerPass::vectorizeStores(ArrayRef<StoreInst *> Stores,
         continue;
       }
 
+      std::optional<unsigned> NonPowerOf2VF;
----------------
alexey-bataev wrote:

```suggestion
      unsigned NonPowerOf2VF = 0;
```


https://github.com/llvm/llvm-project/pull/77790


More information about the llvm-commits mailing list