[PATCH] D57779: [SLP] Add support for throttling.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 04:30:21 PDT 2019


spatel added inline comments.


================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:2799-2802
+void BoUpSLP::recordSeeds(ArrayRef<Value *> Ops) {
+  Seeds.push_back(
+      llvm::make_unique<SmallVector<Value *, 8>>(Ops.begin(), Ops.end()));
+}
----------------
I wanted to see if this patch would help with a problem that I'm looking at, but I get this error when trying to build:

```
/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:2893:7: error: no template named 'make_unique' in namespace 'llvm'; did you mean
      'std::make_unique'?
      llvm::make_unique<SmallVector<Value *, 8>>(Ops.begin(), Ops.end()));
      ^~~~~~~~~~~~~~~~~
      std::make_unique

```


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

https://reviews.llvm.org/D57779





More information about the llvm-commits mailing list