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

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 11:32:23 PDT 2017


mkuper accepted this revision.
mkuper added inline comments.
This revision is now accepted and ready to land.


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


https://reviews.llvm.org/D34756





More information about the llvm-commits mailing list