[PATCH] D28583: CodeGen: Allow small copyable blocks to "break" the CFG.

Kyle Butt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 18:44:08 PST 2017


iteratee updated this revision to Diff 86381.
iteratee added a comment.

Use a percentage of the entry frequency as a cutoff.


https://reviews.llvm.org/D28583

Files:
  lib/CodeGen/BranchFolding.cpp
  lib/CodeGen/BranchFolding.h
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/AArch64/arm64-atomic.ll
  test/CodeGen/AArch64/arm64-shrink-wrapping.ll
  test/CodeGen/AArch64/tail-dup-repeat-worklist.ll
  test/CodeGen/AArch64/tbz-tbnz.ll
  test/CodeGen/AMDGPU/branch-relaxation.ll
  test/CodeGen/AMDGPU/uniform-cfg.ll
  test/CodeGen/ARM/arm-and-tst-peephole.ll
  test/CodeGen/ARM/atomic-op.ll
  test/CodeGen/ARM/atomic-ops-v8.ll
  test/CodeGen/ARM/cmpxchg-weak.ll
  test/CodeGen/Mips/brconnez.ll
  test/CodeGen/Mips/micromips-compact-branches.ll
  test/CodeGen/PowerPC/misched-inorder-latency.ll
  test/CodeGen/PowerPC/tail-dup-break-cfg.ll
  test/CodeGen/PowerPC/tail-dup-layout.ll
  test/CodeGen/SPARC/sjlj.ll
  test/CodeGen/SystemZ/int-cmp-44.ll
  test/CodeGen/Thumb/thumb-shrink-wrapping.ll
  test/CodeGen/Thumb2/cbnz.ll
  test/CodeGen/Thumb2/ifcvt-compare.ll
  test/CodeGen/Thumb2/v8_IT_4.ll
  test/CodeGen/WebAssembly/phi.ll
  test/CodeGen/X86/avx512-cmp.ll
  test/CodeGen/X86/bt.ll
  test/CodeGen/X86/fp-une-cmp.ll
  test/CodeGen/X86/jump_sign.ll
  test/CodeGen/X86/testb-je-fusion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28583.86381.patch
Type: text/x-patch
Size: 71930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/d1fa8e37/attachment.bin>


More information about the llvm-commits mailing list