aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vector-builder.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-11-11 10:18:47 +0100
committerRichard Biener <rguenther@suse.de>2020-11-11 11:50:17 +0100
commit57f076655eaaa03ae4b63408e25438d3caa20b4d (patch)
tree6264b1dd475400a36d8b2495421b5a13c5f5bc5a /gcc/tree-vector-builder.c
parentc76c23a0da27f6a5583490893b82a82002691a90 (diff)
downloadgcc-57f076655eaaa03ae4b63408e25438d3caa20b4d.zip
gcc-57f076655eaaa03ae4b63408e25438d3caa20b4d.tar.gz
gcc-57f076655eaaa03ae4b63408e25438d3caa20b4d.tar.bz2
Drop topological sort for PRE phi-translation
The topological sort sorted_array_from_bitmap_set is supposed to provide isn't one since quite some time since value_ids are assigned first to SSA names in the order of SSA_NAME_VERSION and then to hashtable entries in the order they appear in the table. One can even argue that expression-ids provide a closer approximation of a topological sort since those are assigned during AVAIL_OUT computation which is done in a dominator walk. Now - phi-translation is not even depending on topological sorting but it essentially does a DFS walk, phi-translating expressions it depends on and relying on phi-translation caching to avoid doing redundant work. So this patch drops the use of sorted_array_from_bitmap_set from phi_translate_set because this function is quite expensive. 2020-11-11 Richard Biener <rguenther@suse.de> * tree-ssa-pre.c (phi_translate_set): Do not sort the expression set topologically.
Diffstat (limited to 'gcc/tree-vector-builder.c')
0 files changed, 0 insertions, 0 deletions