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

Kyle Butt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 15:42:15 PST 2017


iteratee updated this revision to Diff 84159.
iteratee marked an inline comment as done.
iteratee added a comment.

Updated the cost calculation to not rely on the lattice layout.
This resulted in fewer duplications in tests, so those tests changes have been rolled into https://reviews.llvm.org/D28522


https://reviews.llvm.org/D28583

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/AMDGPU/branch-relaxation.ll
  test/CodeGen/ARM/cmpxchg-weak.ll
  test/CodeGen/Mips/brconeq.ll
  test/CodeGen/Mips/brconeqk.ll
  test/CodeGen/Mips/brcongt.ll
  test/CodeGen/Mips/brconlt.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-37.ll
  test/CodeGen/SystemZ/int-cmp-40.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/2008-11-29-ULT-Sign.ll
  test/CodeGen/X86/add.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/machine-cse.ll
  test/CodeGen/X86/testb-je-fusion.ll

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


More information about the llvm-commits mailing list