Two tail merging improvements:
When considering blocks with more than 2 predecessors, merge the block with
the largest number of matching insns, rather than the first block found.
Considering that 1 matching insn is enough to show a win for candidates that
already end with a branch.

llvm-svn: 37315
1 file changed
tree: 723d38708e981a792838ebf196dab885cc44ae49
  1. llvm/
  2. stacker/