[PATCH] D47371: [BPI] Apply invoke heuristic before loop branch heuristic

Artur Pilipenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 4 08:49:02 PDT 2018


apilipenko updated this revision to Diff 149776.
apilipenko added a comment.

The suggestion to apply calcInvokeHeuristics before calcUnreachableHeuristics and calcColdCallHeuristics makes sense.


https://reviews.llvm.org/D47371

Files:
  lib/Analysis/BranchProbabilityInfo.cpp
  test/Analysis/BlockFrequencyInfo/loop_with_invoke.ll
  test/Analysis/BranchProbabilityInfo/loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47371.149776.patch
Type: text/x-patch
Size: 4442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180604/f114864a/attachment.bin>


More information about the llvm-commits mailing list