| commit | 52a00936b4862096ae073c8c9391a3bae44c2e8a | [log] [tgz] |
|---|---|---|
| author | Andrew Trick <atrick@apple.com> | Wed Feb 26 22:07:26 2014 +0000 |
| committer | Andrew Trick <atrick@apple.com> | Wed Feb 26 22:07:26 2014 +0000 |
| tree | 4961d59b104aeee6a8d222a1be756e58937389cd | |
| parent | 0140ce483fe21404b8ad0aed59521b33cb16440a [diff] |
Add a limit to the heuristic that register allocates instructions in local order. This handles pathological cases in which we see 2x increase in spill code for large blocks (~50k instructions). I don't have a unit test for this behavior. Fixes rdar://16072279. llvm-svn: 202304