diff options
author | Andrew Trick <atrick@apple.com> | 2014-02-26 22:07:26 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2014-02-26 22:07:26 +0000 |
commit | 52a00936b4862096ae073c8c9391a3bae44c2e8a (patch) | |
tree | 4961d59b104aeee6a8d222a1be756e58937389cd /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 0140ce483fe21404b8ad0aed59521b33cb16440a (diff) | |
download | bcm5719-llvm-52a00936b4862096ae073c8c9391a3bae44c2e8a.tar.gz bcm5719-llvm-52a00936b4862096ae073c8c9391a3bae44c2e8a.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
0 files changed, 0 insertions, 0 deletions