commit | 834b08af8d3d8fc6c76ac6ca40674565689e8d7f | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Wed Nov 18 03:34:27 2009 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Wed Nov 18 03:34:27 2009 +0000 |
tree | 54f4512d0d88c69265505976b1d17cdd845a2fb9 | |
parent | 5eea34267376e76aceb53b6c3dfead816021258f [diff] |
Add a target hook to allow changing the tail duplication limit based on the contents of the block to be duplicated. Use this for ARM Cortex A8/9 to be more aggressive tail duplicating indirect branches, since it makes it much more likely that they will be predicted in the branch target buffer. Testcase coming soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89187 91177308-0d34-0410-b5e6-96231b3b80d8