anemet added a comment. Hi Michael, Is this is on with -Os + PGO or just O<n> + PGO? Also I forgot the heuristics from the original patch, are we only peeling hot low-trip count loops or also cold ones? Thanks, Adam https://reviews.llvm.org/D27734