[PATCH] D119623: [SLP] Simplify indices processing for insertelements

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 13 14:22:01 PST 2022


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:9609
                                   BuildVectorOpds, InsertElts, *OperandIndex))
         return false;
     } else {
----------------
I mean, maybe return true here too, if we have at least 2 insertelements in the InsertElts vector?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119623/new/

https://reviews.llvm.org/D119623



More information about the llvm-commits mailing list