[PATCH] D34760: [LV] Fix PR33613 - retain order of insertelements per part

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 09:42:13 PDT 2017


mssimpso accepted this revision.
mssimpso added a comment.
This revision is now accepted and ready to land.

Makes sense. Thanks, Ayal!



================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:2719
 
-    // Get the last scalar instruction we generated for V. If the value is
-    // known to be uniform after vectorization, this corresponds to lane zero
-    // of the last unroll iteration. Otherwise, the last instruction is the one
-    // we created for the last vector lane of the last unroll iteration.
+    // Get the last scalar instruction we generated for V and Part. If the valu
+    // is known to be uniform after vectorization, this corresponds to lane zero
----------------
valu -> value


https://reviews.llvm.org/D34760





More information about the llvm-commits mailing list