[PATCH] Fix information loss in branch probability computation.

Diego Novillo dnovillo at google.com
Thu May 7 08:26:06 PDT 2015


This version fixes the 32bit overflow check in visitSwitch()


http://reviews.llvm.org/D9442

Files:
  lib/Analysis/BranchProbabilityInfo.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/Analysis/BranchProbabilityInfo/pr22718.ll
  test/CodeGen/X86/MachineBranchProb.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9442.25192.patch
Type: text/x-patch
Size: 8703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150507/e0e5738f/attachment.bin>


More information about the llvm-commits mailing list