commit | 541ba667f21a4f21a4d8d68e685d522bd0005bea | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Thu Oct 02 12:58:21 2014 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Thu Oct 02 12:58:21 2014 -0700 |
tree | 42826ae1aa652a39ca2a83ce837ac328749b052e | |
parent | 0795ba012d00ef611ce1c6898db7652ed4559c62 [diff] |
Subzero: Improve regalloc performance by optimizing UnhandledPrecolored. A lot of time was being spent in the two loops that check precolored ranges in the Unhandled set, specifically in the endsBefore() check. Solve this by keeping a shadow copy of Unhandled, restricted to the ranges that are precolored. BUG= none R=jvoung@chromium.org Review URL: https://codereview.chromium.org/622553003