[PATCH] D148378: [SLP][NFC] Remove comparator argument of `tryToVectorizeSequence()`
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 14 14:29:08 PDT 2023
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:14144
bool Changed = false;
- // Sort by type, parent, operands.
- stable_sort(Incoming, Comparator);
----------------
Would be good to add the assert that the array is properly sorted, but I don't know how to do it without comparator here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148378/new/
https://reviews.llvm.org/D148378
More information about the llvm-commits
mailing list