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

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 10:58:51 PDT 2017


mkuper added inline comments.


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


https://reviews.llvm.org/D34756





More information about the llvm-commits mailing list