[PATCH] D11915: Let edge weight be always greater than zero in both BPI and MBPI.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 11:31:49 PDT 2015


congh updated this revision to Diff 31841.
congh added a comment.

Reduce the patch by only eliminating zero weights in BPI.


http://reviews.llvm.org/D11915

Files:
  lib/Analysis/BranchProbabilityInfo.cpp
  test/Analysis/BlockFrequencyInfo/bad_input.ll
  test/Transforms/SampleProfile/branch.ll
  test/Transforms/SampleProfile/calls.ll
  test/Transforms/SampleProfile/propagate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11915.31841.patch
Type: text/x-patch
Size: 7413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/7ea21b80/attachment.bin>


More information about the llvm-commits mailing list