[PATCH] D34312: [NewPM/Inliner] Reduce threshold for cold callsites in the non-PGO case

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 09:29:16 PDT 2017


eraman marked an inline comment as done.
eraman added a comment.

I used BranchProbability as you suggested but due to BranchProbability's implementation I need to adjust the test case (essentitally BranchProbability(1,100) is < 1/100). This is not a big deal, but it does not treat a callsite guarded by a builtin_expect inside a loop as cold anymore.


https://reviews.llvm.org/D34312





More information about the llvm-commits mailing list