| commit | 64b5d0f46849f74fac5f853bb335de29cf2e1b83 | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <gohman@apple.com> | Wed Nov 11 19:48:59 2009 +0000 |
| committer | Dan Gohman <gohman@apple.com> | Wed Nov 11 19:48:59 2009 +0000 |
| tree | e6ff4563185f2980b265bc6de9066f1776c634c4 | |
| parent | 062c2919494fabd10e68964b571903c8d8577a2c [diff] |
Add support for tail duplication to BranchFolding, and extend tail merging support to handle more cases. - Recognize several cases where tail merging is beneficial even when the tail size is smaller than the generic threshold. - Make use of MachineInstrDesc::isBarrier to help detect non-fallthrough blocks. - Check for and avoid disrupting fall-through edges in more cases. llvm-svn: 86871