Branch Folding: Accept explicit threshold for tail merge size.
authorKyle Butt <kyle+llvm@iteratee.net>
Thu, 18 Aug 2016 18:57:29 +0000 (18:57 +0000)
committerKyle Butt <kyle+llvm@iteratee.net>
Thu, 18 Aug 2016 18:57:29 +0000 (18:57 +0000)
commit64e428147ffc9bbeff444c922b98cc4110c21561
tree30208c4c0cb8c8ac3e0f003a16b663757e48b0ae
parent24c86990575fd7c780f944a60d345565208067b0
Branch Folding: Accept explicit threshold for tail merge size.

This is prep work for allowing the threshold to be different during layout,
and to enforce a single threshold between merging and duplicating during
layout. No observable change intended.

llvm-svn: 279117
llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/BranchFolding.h
llvm/lib/CodeGen/MachineBlockPlacement.cpp