[PATCH] D11605: [LoopUnswitch] Add block frequency analysis to recognize hot/cold regions

Chen Li meloli87 at gmail.com
Mon Aug 3 15:34:40 PDT 2015


chenli added a comment.

In http://reviews.llvm.org/D11605#216478, @davidxl wrote:

> The main problem with the patch is that the cold loop detection can have many false positives. With profile feedback,  cold loops can be reliably detected but not with the method described in this patch.


By the correct cold loop detection, do you specifically mean to check the execution count of the hottest BB in the loop?


http://reviews.llvm.org/D11605







More information about the llvm-commits mailing list