]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/64058 (Performance degradation after r216304)
authorJeff Law <law@redhat.com>
Fri, 11 Mar 2016 21:07:31 +0000 (14:07 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 11 Mar 2016 21:07:31 +0000 (14:07 -0700)
commit015782a5aea37b0cd80b5f1888988d5c79398b81
tree7d12dc602ab2bed2136b0f19bde0c604b603a58c
parent3edc5da4a6b61d9184f1211037ab669897d1eef2
re PR tree-optimization/64058 (Performance degradation after r216304)

PR tree-optimization/64058
* tree-ssa-coalesce.c (struct coalesce_pair): Add new field INDEX.
(num_coalesce_pairs): Move up earlier in file.
(find_coalesce_pair): Initialize the INDEX field for each pair
discovered.
(compare_pairs): No longer sort on the elements in each pair.
Instead break ties with the index of the coalesce pair.

From-SVN: r234149
gcc/ChangeLog
gcc/tree-ssa-coalesce.c