]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic...
authorRichard Guenther <rguenther@suse.de>
Tue, 8 Jan 2008 16:29:14 +0000 (16:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 8 Jan 2008 16:29:14 +0000 (16:29 +0000)
commita9990582a84e6fac0f7274fae1686f209c58c457
treeecfed3abf31acdafc39792d76273a9ef575c689c
parent0f3e711eef24f6b00e7dc462288c064d68a9ec43
re PR tree-optimization/34683 (SSA rewriting in the loop unroller causes quadratic behavior)

2008-01-08  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/34683
* tree-ssa-operands.c (operand_build_cmp): Export.
* tree-ssa-operands.h (operand_build_cmp): Declare.
* tree-vn.c (vuses_compare): Remove.
(sort_vuses): Use operand_build_cmp.
(sort_vuses_heap): Likewise.
* tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
to re-use old VEC if available.  Do not sort already sorted VUSEs.
(vdefs_to_vec): Do not sort already sorted VDEFs.

From-SVN: r131400
gcc/ChangeLog
gcc/tree-ssa-operands.c
gcc/tree-ssa-operands.h
gcc/tree-ssa-sccvn.c
gcc/tree-vn.c