[PATCH] D37153: [LoopUnroll] Properly update the loop preheader in case of successful peeling

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 12:35:58 PDT 2017


efriedma added inline comments.


================
Comment at: lib/Transforms/Utils/LoopUnroll.cpp:407
+      Preheader = L->getLoopPreheader();
+  }
 
----------------
Do we need to recompute TripCount and TripMultiple here as well?


https://reviews.llvm.org/D37153





More information about the llvm-commits mailing list