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)
commitee51a20164fba305401158e9d1020f7c3cd27adc
tree8638988764c3bfbcffa7729400dcdb8c1c0d46e3
parenta12bd756e4dd3e1325e877d6666cf3c63d80f85a
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.

llvm-svn: 299891
llvm/lib/CodeGen/MachineBlockPlacement.cpp
llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll
llvm/test/CodeGen/X86/block-placement.ll