diff options
author | Richard Biener <rguenther@suse.de> | 2020-10-30 13:32:32 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-10-30 13:35:24 +0100 |
commit | 82ff7e3426ea926d090777173977f8bedd086816 (patch) | |
tree | 35c9a956bdc58f6e0d758fd31f88133a78f41f16 /gcc/fortran/dump-parse-tree.c | |
parent | 33c0f246f799b7403171e97f31276a8feddd05c9 (diff) | |
download | gcc-82ff7e3426ea926d090777173977f8bedd086816.zip gcc-82ff7e3426ea926d090777173977f8bedd086816.tar.gz gcc-82ff7e3426ea926d090777173977f8bedd086816.tar.bz2 |
tree-optimization/97623 - avoid excessive insert iteration for hoisting
This avoids requiring insert iteration for back-to-back hoisting
opportunities as seen in the added testcase. For the PR at hand
this halves the number of insert iterations retaining only
the hard to avoid PRE / hoist insert back-to-backs.
2020-10-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/97623
* tree-ssa-pre.c (insert): First do hoist insertion in
a backward walk.
* gcc.dg/tree-ssa/ssa-hoist-7.c: New testcase.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions