[llvm] [SLP]Initial support for non-power-of-2 (but still whole register) number of elements in operands. (PR #107273)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 15:23:39 PDT 2024


================
@@ -3275,8 +3307,9 @@ class BoUpSLP {
                           SmallVectorImpl<Value *> *AltScalars = nullptr) const;
 
     /// Return true if this is a non-power-of-2 node.
-    bool isNonPowOf2Vec() const {
----------------
preames wrote:

Request: Please leave the original method, and add a new one called isAllowedNonPowOfTwo.  

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


More information about the llvm-commits mailing list