]> granicus.if.org Git - llvm/commit
CodeGen: BlockPlacement: Minor probability changes.
authorKyle Butt <kyle+llvm@iteratee.net>
Mon, 10 Apr 2017 22:28:18 +0000 (22:28 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Mon, 10 Apr 2017 22:28:18 +0000 (22:28 +0000)
commit132e8441ed92038e67045d21201eb3d029d60b05
tree683ee7c57351f119c557fae93db8a08e637ea2f6
parentad1b74fa7d9d4053c0e439929490934385e3e706
CodeGen: BlockPlacement: Minor probability changes.

Qin may be large, and Succ may be more frequent than BB. Take these both into
account when deciding if tail-duplication is profitable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299891 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp
test/CodeGen/AArch64/combine-comparisons-by-cse.ll
test/CodeGen/X86/block-placement.ll