[PATCH] D57779: [SLP] Add support for throttling.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 19 06:59:27 PDT 2020
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:2276
+ struct TreeState {
+ using TreeStateTy = SmallVector<std::unique_ptr<TreeState>, 2>;
+
----------------
Why `unique_ptr` again? Why not a `TreeState` directly? Just `SmallVector<TreeState, 2>;`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57779/new/
https://reviews.llvm.org/D57779
More information about the llvm-commits
mailing list