diff options
| author | Dan Gohman <gohman@apple.com> | 2009-10-20 20:06:09 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-10-20 20:06:09 +0000 |
| commit | b6b8ec769ceb86e57f604246e8b0c736dd7fd4d6 (patch) | |
| tree | 1765ffa338ccce0ac9da9f22d876a6c77778c607 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9a587b01118ed7821818b15cad62e8b2215e6d9d (diff) | |
Restore LoopUnswitch's block-oriented threshold. LoopUnswitch now checks both
the estimated code size and the number of blocks when deciding whether to
do a non-trivial unswitch. This protects it from some very undesirable
worst-case behavior on large numbers of loop-unswitchable conditions, such
as in the testcase in PR5259.
llvm-svn: 84661
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
