diff options
| author | Andrew Trick <atrick@apple.com> | 2012-04-18 04:00:10 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2012-04-18 04:00:10 +0000 |
| commit | b5122635966a980a850c028895e275a43e0f946d (patch) | |
| tree | 83696554fb255db9dd225597e32d2da027cfc65b /docs/CommandGuide | |
| parent | 575fcb38de5ef0b37cff1c3d5c18cbc34edb6af1 (diff) | |
| download | external_llvm-b5122635966a980a850c028895e275a43e0f946d.zip external_llvm-b5122635966a980a850c028895e275a43e0f946d.tar.gz external_llvm-b5122635966a980a850c028895e275a43e0f946d.tar.bz2 | |
loop-reduce: Add an early bailout to catch extremely large loops.
This introduces a threshold of 200 IV Users, which is very
conservative but should be sufficient to avoid serious compile time
sink or stack overflow. The llvm test-suite with LTO never exceeds 190
users per loop.
The bug doesn't relate to a specific type of loop. Checking in an
arbitrary giant loop as a unit test would be silly.
Fixes rdar://11262507.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions
