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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 03:33:52 PST 2024


================
@@ -179,6 +179,10 @@ static cl::opt<bool>
     ViewSLPTree("view-slp-tree", cl::Hidden,
                 cl::desc("Display the SLP trees with Graphviz"));
 
+static cl::opt<bool> VectorizeNonPowerOf2(
+    "slp-vectorize-non-power-of-2", cl::init(false), cl::Hidden,
+    cl::desc("Try to vectorize with non-power-of-2 with number of elements."));
----------------
alexey-bataev wrote:

```suggestion
    cl::desc("Try to vectorize with non-power-of-2 number of elements."));
```

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


More information about the llvm-commits mailing list