gimple-iterator.c (gimple_find_edge_insert_loc): Ignore fake edges to exit when looki...
authorRichard Biener <rguenther@suse.de>
Wed, 22 Nov 2017 09:05:53 +0000 (09:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 22 Nov 2017 09:05:53 +0000 (09:05 +0000)
commit608c0f631803f888363bccff43a57027538ff03e
tree28545debd89aa0dd6f1953fb4d48e97f80f783d6
parent9cf7bfd919f394595c0ac561ed67b333a39ae51e
gimple-iterator.c (gimple_find_edge_insert_loc): Ignore fake edges to exit when looking for a place to insert.

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.

From-SVN: r255047
gcc/ChangeLog
gcc/gimple-iterator.c
gcc/tree-ssa-pre.c