]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed.
authorRichard Guenther <rguenther@suse.de>
Mon, 4 Jan 2010 21:02:42 +0000 (21:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Jan 2010 21:02:42 +0000 (21:02 +0000)
commita7d04a5357719127b0ac3b8f139ccabf188f30b4
tree0d4b71e06f20c74e023eb6aacd7690d252cf6d24
parentd6de356aa3f8fa23a08ca801aa63c5e9cce58a20
tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate a new entry only if needed.

2010-01-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
a new entry only if needed.
* tree-ssa-dom.c (lookup_avail_expr): Likewise.
* tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
hashtable lookup.
* tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
the result array.
(phi_translate): Handle CONSTANTs early.

From-SVN: r155633
gcc/ChangeLog
gcc/tree-ssa-coalesce.c
gcc/tree-ssa-dom.c
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c