[PATCH] D11442: Provide an interface normalizeSuccWeights in MachineBasicBlock to normalize its successors' weights and use it in other places.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 16:43:53 PDT 2015


congh removed rL LLVM as the repository for this revision.
congh updated this revision to Diff 31882.
congh added a comment.

Update the patch by turning zero edge weights into one in BPI so that we won't get zero weights in BPI anymore.


http://reviews.llvm.org/D11442

Files:
  include/llvm/CodeGen/MachineBasicBlock.h
  include/llvm/CodeGen/MachineBranchProbabilityInfo.h
  lib/Analysis/BranchProbabilityInfo.cpp
  lib/CodeGen/IfConversion.cpp
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineBlockPlacement.cpp
  lib/CodeGen/MachineBranchProbabilityInfo.cpp
  test/CodeGen/X86/pr24377.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: D11442.31882.patch
Type: text/x-patch
Size: 19862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150811/2ecbe3b9/attachment.bin>


More information about the llvm-commits mailing list