[PATCH] D30161: [LoopUnrolling] Peel loops with invariant backedge Phi input

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 11:48:04 PST 2017


efriedma added inline comments.


================
Comment at: llvm/trunk/lib/Transforms/Utils/LoopUnrollPeel.cpp:95
+      UP.PeelCount = 1;
+      return;
+    }
----------------
Do we need to do some sort of threshold check here?  At first glance, it looks like this will peel a loop of any size.


Repository:
  rL LLVM

https://reviews.llvm.org/D30161





More information about the llvm-commits mailing list