[PATCH] D34756: [SLPVectorizer] Introducing getTreeEntry() [NFC]

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 11:07:55 PDT 2017


RKSimon added inline comments.


================
Comment at: lib/Transforms/Vectorize/SLPVectorizer.cpp:524
 
+  TreeEntry *getTreeEntry(Value *V) {
+    auto I = ScalarToTreeEntry.find(V);
----------------
mkuper wrote:
> Where do we need the non-const version?
BoUpSLP::buildTree I think


https://reviews.llvm.org/D34756





More information about the llvm-commits mailing list