[PATCH] D25963: [LoopUnroll] Implement profile-based loop peeling

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 08:56:55 PST 2016


danielcdh added inline comments.


================
Comment at: include/llvm/Transforms/Utils/LoopUtils.h:465
+/// \brief Get a loop's estimated trip count based on branch weight metadata.
+unsigned getLoopEstimatedTripCount(Loop *L);
+
----------------
Is it possible to have this helper function in another patch (maybe NFC) and submit it first? I'd like to use it in another patch: https://reviews.llvm.org/D26527. Or if this patch is going in pretty soon, it's also fine. Thanks.


https://reviews.llvm.org/D25963





More information about the llvm-commits mailing list