[PATCH] D31997: [LV] Refactor ILV to provide vectorizeInstruction() from vectorizeBlockInLoop()

Michael Kuperstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 16:35:16 PDT 2017


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

LGTM with minor nit about comment.



================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:3883
   // dead in the vectorized loop. We don't need to vectorize these
-  // instructions.
-  collectTriviallyDeadInstructions();
+  // instructions. For example,
+  // original induction update instructions can become dead because we
----------------
Weird line-break here.


https://reviews.llvm.org/D31997





More information about the llvm-commits mailing list