commit | 9dbbd87938a0dc2ffe23f4205ec61618e052ca92 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 23 03:41:29 2011 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 23 03:41:29 2011 +0000 |
tree | b20df9f4a39888f580d22ec9ffc810992f84e7c5 | |
parent | 2fa82bc3da45d272f12a96a61074b637faa62e0b [diff] |
Move more logic to shouldTailDuplicate and only duplicate regular bb before register allocation if it has a indirectbr or if we can duplicate it to every predecessor. This fixes the SingleSource/Benchmarks/Shootout-C++/matrix.cpp regression but keeps the previous improvements to sunspider. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133682 91177308-0d34-0410-b5e6-96231b3b80d8