OSDN Git Service

CodeGen: BlockPlacement: Reduce TriangleChainCount to 2
authorKyle Butt <kyle+llvm@iteratee.net>
Thu, 16 Mar 2017 01:32:29 +0000 (01:32 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Thu, 16 Mar 2017 01:32:29 +0000 (01:32 +0000)
commitfef90abb68fafabdaa1dfd5149fe8a01d52785a7
tree24fdbdc32f28745f371c7abcdb695d1d00b7af53
parentbd97f5e153f21fd9fbb9e7d0501c34d7516ec569
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%

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp
test/CodeGen/Mips/llvm-ir/ashr.ll
test/CodeGen/Mips/llvm-ir/lshr.ll
test/CodeGen/Mips/llvm-ir/shl.ll