2017-11-22 Richard Biener <rguenther@suse.de>
commit38796aef52090cd65dba4af8f25cc552a6eb6921
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 09:05:53 +0000 (22 09:05 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Nov 2017 09:05:53 +0000 (22 09:05 +0000)
tree28545debd89aa0dd6f1953fb4d48e97f80f783d6
parent5cbef4837291604dfbf5ca8b6fc38f6c46449b52
2017-11-22  Richard Biener  <rguenther@suse.de>

* gimple-iterator.c (gimple_find_edge_insert_loc): Ignore
fake edges to exit when looking for a place to insert.
* tree-ssa-pre.c (clear_expression_ids): Inline into callers
and remove.
(insert_into_preds_of_block): Commit edge insertion immediately,
assert that doesn't require new BBs.
(fini_pre): Release expressions.
(pass_pre::execute): Shuffle things around a bit, if the fn
is too large do not compute AVAIL either as this is really the
quadratic bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255047 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-iterator.c
gcc/tree-ssa-pre.c