[PATCH] D150121: [SLP][NFC]Add missing finalize params in the CostEstimator, NFC.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 03:37:29 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:7127
}
- void gather(ArrayRef<Value *> VL, Value *Root = nullptr) {
+ /// Adds another one input vector and the mask for the shuffling.
+ void add(Value *V1, ArrayRef<int> Mask) {
----------------
"Adds another" suggests we can combine these, but all it does it overwrite the mask/vector list - should we assert(CommonMask.empty() && InVectors.empty()) ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150121/new/
https://reviews.llvm.org/D150121
More information about the llvm-commits
mailing list