<div dir="ltr">UINT32_MAX vs 1<<31 choice is still under discussion, so please be patient :)<div><br></div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 11, 2015 at 5:20 PM, Cong Hou via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">congh updated this revision to Diff 34607.<br>
congh added a comment.<br>
<br>
Update the patch by using 1<<31 instead of UINT32_MAX as the constant denominator.<br>
<span class=""><br>
<br>
<a href="http://reviews.llvm.org/D12603" rel="noreferrer" target="_blank">http://reviews.llvm.org/D12603</a><br>
<br>
Files:<br>
  include/llvm/Analysis/BlockFrequencyInfoImpl.h<br>
  include/llvm/Support/BranchProbability.h<br>
  lib/Support/BranchProbability.cpp<br>
  lib/Target/ARM/ARMBaseInstrInfo.cpp<br>
  test/Analysis/BlockFrequencyInfo/basic.ll<br>
  test/Analysis/BlockFrequencyInfo/loops_with_profile_info.ll<br>
</span><span class="">  test/Analysis/BranchProbabilityInfo/basic.ll<br>
  test/Analysis/BranchProbabilityInfo/loop.ll<br>
  test/Analysis/BranchProbabilityInfo/noreturn.ll<br>
  test/Analysis/BranchProbabilityInfo/pr18705.ll<br>
  test/Analysis/BranchProbabilityInfo/pr22718.ll<br>
</span><span class="">  test/CodeGen/AArch64/fast-isel-branch-cond-split.ll<br>
  test/CodeGen/ARM/2013-10-11-select-stalls.ll<br>
  test/CodeGen/ARM/ifcvt4.ll<br>
  test/CodeGen/ARM/sjlj-prepare-critical-edge.ll<br>
  test/CodeGen/ARM/tail-merge-branch-weight.ll<br>
  test/CodeGen/ARM/test-sharedidx.ll<br>
  test/CodeGen/Thumb2/thumb2-ifcvt1.ll<br>
</span><span class="">  test/Transforms/SampleProfile/branch.ll<br>
  test/Transforms/SampleProfile/calls.ll<br>
  test/Transforms/SampleProfile/discriminator.ll<br>
  test/Transforms/SampleProfile/fnptr.ll<br>
  test/Transforms/SampleProfile/propagate.ll<br>
</span>  unittests/Support/BlockFrequencyTest.cpp<br>
  unittests/Support/BranchProbabilityTest.cpp<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>