[PATCH] D30631: [BPI] Use metadata info before any other heuristics

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 02:23:21 PDT 2017


skatkov updated this revision to Diff 95280.
skatkov added a comment.

Two comments addressed. I will not submit it until Monday.

Chandler, if you have a chance please let me know if you are ok with my suggestion to update 
BP[ReachableIdxs[0]] += ToDistribute - (PerEdge * ReachableIdxs.size());
in a follow-up patch.


https://reviews.llvm.org/D30631

Files:
  lib/Analysis/BranchProbabilityInfo.cpp
  test/Analysis/BranchProbabilityInfo/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30631.95280.patch
Type: text/x-patch
Size: 14184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170414/aff73104/attachment.bin>


More information about the llvm-commits mailing list