OSDN Git Service

Make the threshold used by branch folding softer. Before we would get a
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 04:41:17 +0000 (04:41 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 14 Jun 2011 04:41:17 +0000 (04:41 +0000)
commit3a42565ccb169ec4acf79698b38d7da880f13364
treed2c0dcabba0f4b72ba31808966872d9924d7d0c1
parent3c2f0a11cce5a1e828e20675fa8467b624795e0a
Make the threshold used by branch folding softer. Before we would get a
sharp all or nothing transition when one extra predecessor was added. Now
we still test first ones for merging.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
lib/CodeGen/BranchFolding.h
test/CodeGen/X86/tail-threshold.ll [new file with mode: 0644]