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

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 12:46:00 PDT 2017


davide added inline comments.


================
Comment at: lib/Transforms/Utils/LoopUnroll.cpp:407
+      Preheader = L->getLoopPreheader();
+  }
 
----------------
efriedma wrote:
> Do we need to recompute TripCount and TripMultiple here as well?
Yes, probably. Let me update it.


https://reviews.llvm.org/D37153





More information about the llvm-commits mailing list