[PATCH] D13218: Mark BB as annotated if its weight is > 0

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 18:44:21 PDT 2015


danielcdh updated this revision to Diff 36060.
danielcdh added a comment.

This change exposed many errors in the original test input. Thus I integrated the EC related change into this patch so that I only need to update the test input once.

Diego and David, please help take another look at the patch. With this patch, the propagation should be very robust now.


http://reviews.llvm.org/D13218

Files:
  include/llvm/ProfileData/SampleProf.h
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/branch.prof
  test/Transforms/SampleProfile/Inputs/propagate.prof
  test/Transforms/SampleProfile/branch.ll
  test/Transforms/SampleProfile/propagate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13218.36060.patch
Type: text/x-patch
Size: 26611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150930/08c33024/attachment.bin>


More information about the llvm-commits mailing list