diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2017-03-16 01:32:29 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2017-03-16 01:32:29 +0000 |
commit | 08655997eb2d49029bbc56d0b2428eeba5bba121 (patch) | |
tree | 8e79189746412fb708a249a40c0fe942236f6949 /llvm/lib/CodeGen | |
parent | bccdba0c1d89ef9f8e183a460616c31143b12774 (diff) | |
download | bcm5719-llvm-08655997eb2d49029bbc56d0b2428eeba5bba121.tar.gz bcm5719-llvm-08655997eb2d49029bbc56d0b2428eeba5bba121.zip |
CodeGen: BlockPlacement: Reduce TriangleChainCount to 2
This produces a 1% speedup on an important internal Google benchmark
(protocol buffers), with no other regressions in google or in the llvm
test-suite. Only 5 targets in the entire llvm test-suite are affected,
and on those 5 targets the size increase is 0.027%
llvm-svn: 297925
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index cba1767281a..d3bf95b9a95 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -149,7 +149,7 @@ static cl::opt<unsigned> TriangleChainCount( "triangle-chain-count", cl::desc("Number of triangle-shaped-CFG's that need to be in a row for the " "triangle tail duplication heuristic to kick in. 0 to disable."), - cl::init(3), + cl::init(2), cl::Hidden); extern cl::opt<unsigned> StaticLikelyProb; |