[PATCH] D27469: [LoopVersioning] Require loop-simplify form for loop versioning.

Ashutosh Nema via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 03:31:33 PST 2016


ashutosh.nema added a comment.

It’s good to avoid loop which are not in loop-simplify form.

This looks OK to me except a minor comment.



================
Comment at: lib/Transforms/Scalar/LoopVersioningLICM.cpp:454
+
+  if (!CurLoop->isLoopSimplifyForm()) {
+    DEBUG(
----------------
Please move this check to "legalLoopStructure".


https://reviews.llvm.org/D27469





More information about the llvm-commits mailing list