mirror of git://gcc.gnu.org/git/gcc.git
tree-ssa-forwprop.c (pass_forwprop::execute): Use RPO order.
2016-08-22 Richard Biener <rguenther@suse.de> * tree-ssa-forwprop.c (pass_forwprop::execute): Use RPO order. From-SVN: r239653
This commit is contained in:
parent
a9d7c8234d
commit
43b7a57780
|
|
@ -1,3 +1,7 @@
|
||||||
|
2016-08-22 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* tree-ssa-forwprop.c (pass_forwprop::execute): Use RPO order.
|
||||||
|
|
||||||
2016-08-21 Uros Bizjak <ubizjak@gmail.com>
|
2016-08-21 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
PR target/77270
|
PR target/77270
|
||||||
|
|
|
||||||
|
|
@ -2099,7 +2099,8 @@ pass_forwprop::execute (function *fun)
|
||||||
lattice.create (num_ssa_names);
|
lattice.create (num_ssa_names);
|
||||||
lattice.quick_grow_cleared (num_ssa_names);
|
lattice.quick_grow_cleared (num_ssa_names);
|
||||||
int *postorder = XNEWVEC (int, n_basic_blocks_for_fn (fun));
|
int *postorder = XNEWVEC (int, n_basic_blocks_for_fn (fun));
|
||||||
int postorder_num = inverted_post_order_compute (postorder);
|
int postorder_num = pre_and_rev_post_order_compute_fn (cfun, NULL,
|
||||||
|
postorder, false);
|
||||||
auto_vec<gimple *, 4> to_fixup;
|
auto_vec<gimple *, 4> to_fixup;
|
||||||
to_purge = BITMAP_ALLOC (NULL);
|
to_purge = BITMAP_ALLOC (NULL);
|
||||||
for (int i = 0; i < postorder_num; ++i)
|
for (int i = 0; i < postorder_num; ++i)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue