[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 13:57:15 PST 2017
iteratee updated this revision to Diff 86340.
iteratee added a comment.
Compare frequencies with a small bias against the tail-duplication side to account for increased icache pressure.
Includes a TODO to handle edge frequencies better in general.
https://reviews.llvm.org/D28583
Files:
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.86340.patch
Type: text/x-patch
Size: 70665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/26921c22/attachment.bin>
More information about the llvm-commits
mailing list