diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-23 03:41:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-23 03:41:29 +0000 |
commit | 9dbbd87938a0dc2ffe23f4205ec61618e052ca92 (patch) | |
tree | b20df9f4a39888f580d22ec9ffc810992f84e7c5 /lib/Transforms/Utils/BasicBlockUtils.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions