[PATCH] D11662: Filter cold blocks off the loop chain when profile data is available.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 10:33:03 PST 2015


congh added a comment.

Ping?

In http://reviews.llvm.org/D11662#279170, @davidxl wrote:

> Please put the block set computation code into a helper function -- LGTM with that. Also how do you come up with the 5/1 ratio?


OK. The 5/1 ratio complies with the ratio that is used in selectBestSuccessor(): when the loop has only one iteration, this will lead to similar result if we treat the loop as a non-loop by removing back edges.


http://reviews.llvm.org/D11662





More information about the llvm-commits mailing list