commit | 579026039080252878106118645ed70706f4838e | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Tue Apr 21 14:28:41 2015 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Apr 29 18:02:36 2015 +0100 |
tree | cfedba53d8e8b04e81b855560e388f3f691ee837 | |
parent | 2d01066db24c19f9384f50ff71806cbb4835c7f9 [diff] |
Add synthesize uses at back edge. This reduces the cost of linearizing the graph (hence removing the notion of back edge). Since linear scan allocates/spills registers based on next use, adding a use at a back edge ensures we do count for loop uses. Change-Id: Idaa882cb120edbdd08ca6bff142d326a8245bd14