re PR tree-optimization/18673 (Tree-PRE is O(N^4) in the depth of the dominator tree)
authorDaniel Berlin <dberlin@dberlin.org>
Tue, 30 Nov 2004 14:49:37 +0000 (14:49 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Tue, 30 Nov 2004 14:49:37 +0000 (14:49 +0000)
commite92845664c623d7b8cf9bcf41d27183d2081a9fa
tree87e56b92f614c34099494e971e4a652d4970f806
parentf2b60e4039b662779ffc4a59eacb186b5b821cd6
re PR tree-optimization/18673 (Tree-PRE is O(N^4) in the depth of the dominator tree)

2004-11-29  Daniel Berlin  <dberlin@dberlin.org>

Fix PR tree-optimization/18673

* tree-ssa-pre.c: Remove splay-tree.h include.
(bitmap_value_replace_in_set): Fix to add if it does not exist.
(find_or_generate_expression): Remove now-wrong condition.
(create_expression_by_pieces): Fix condition and comment reason
for it.
(insert_aux): Fix condition and comment reasons for it.
Factor insertion code from here.
(insert_into_preds_of_block): To here.  Fix conditions in factored
function and comment reasons for them.

From-SVN: r91522
gcc/ChangeLog
gcc/tree-ssa-pre.c