[PATCH] D24057: [LoadStoreVectorizer] Change VectorSet to Vector to match head and tail positions. Resolves PR29148.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 15:29:55 PDT 2016


jlebar accepted this revision.

================
Comment at: lib/Transforms/Vectorize/LoadStoreVectorizer.cpp:677
@@ -676,3 +676,3 @@
     int I = Head;
-    while (I != -1 && (Tails.count(I) || Heads.count(I))) {
+    while (I != -1 && (is_contained(Tails,I) || is_contained(Heads,I))) {
       if (InstructionsProcessed.count(Instrs[I]))
----------------
Please clang-format.  :)


https://reviews.llvm.org/D24057





More information about the llvm-commits mailing list