[PATCH] D10825: Improvement on computing edge probabilities when choosing the best successor in machine block placement.

Cong Hou congh at google.com
Thu Jul 23 15:52:59 PDT 2015


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

Update the patch.

When looking for the best successor of a block, now we only consider its valid successors that could become its successor in the chain, and calculate the sum of weights from those valid successors which is later used to calculate edge probabilities. This can handle more general cases than the original patch.


http://reviews.llvm.org/D10825

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10825.30533.patch
Type: text/x-patch
Size: 5107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150723/108f94f5/attachment.bin>


More information about the llvm-commits mailing list