[PATCH] D33577: CodeGen: BlockPlacement: Use Branching factor to choose between near equals.

Kyle Butt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 14:04:57 PDT 2017


iteratee updated this revision to Diff 100472.
iteratee edited the summary of this revision.
iteratee added a comment.

Add comments to the change summary about the global heuristic that we're approximating (maybe badly) by calculating the branch factor.


Repository:
  rL LLVM

https://reviews.llvm.org/D33577

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/AArch64/combine-comparisons-by-cse.ll
  test/CodeGen/AArch64/machine_cse.ll
  test/CodeGen/ARM/2013-05-05-IfConvertBug.ll
  test/CodeGen/ARM/tail-opts.ll
  test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll
  test/CodeGen/WebAssembly/cfg-stackify.ll
  test/CodeGen/X86/block-placement-branch-factor.mir
  test/CodeGen/X86/block-placement.ll
  test/CodeGen/X86/loop-blocks.ll
  test/CodeGen/X86/tail-merge-after-mbp.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33577.100472.patch
Type: text/x-patch
Size: 25849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170526/62138651/attachment.bin>


More information about the llvm-commits mailing list