[PATCH] D16612: [LoopVersioning] Expose loop versioning as a pass too

silviu.baranga@arm.com via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 03:18:27 PST 2016

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

Hi Adam,

Thanks, I can see how this can be very useful.
Are you planning on using this for anything other than unit testing?

Otherwise, LGTM!


Comment at: lib/Transforms/Utils/LoopVersioning.cpp:166
@@ +165,3 @@
+    // Build up a worklist of inner-loops to vectorize. This is necessary as the
+    // act of distributing a loop creates new loops and can invalidate iterators
+    // across the loops.

vectorize -> version
distributing -> versioning


More information about the llvm-commits mailing list