diff options
author | Richard Biener <rguenther@suse.de> | 2016-08-17 08:11:32 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-08-17 08:11:32 +0000 |
commit | 622d8b69482a3c8f2a0df0324033719a771932fd (patch) | |
tree | 68cacd35181faa08cb0557b268b448c1241f5d1d /libssp | |
parent | 892a653cc93da08467301e5cc18ddec7c85462f2 (diff) | |
download | gcc-622d8b69482a3c8f2a0df0324033719a771932fd.zip gcc-622d8b69482a3c8f2a0df0324033719a771932fd.tar.gz gcc-622d8b69482a3c8f2a0df0324033719a771932fd.tar.bz2 |
re PR tree-optimization/23855 (loop header should also be pulled out of the inner loop too)
2016-08-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/23855
* tree-ssa-loop-unswitch.c: Include tree-ssa-loop-manip.h.
(tree_unswitch_outer_loop): Iterate find_loop_guard as long as we
find guards to hoist. Do not update SSA form but rewrite virtuals
into loop closed SSA.
(find_loop_guard): Adjust to skip already hoisted guards. Do
not mark virtuals for renaming or update SSA form.
* gcc.dg/loop-unswitch-2.c: Adjust.
From-SVN: r239523
Diffstat (limited to 'libssp')
0 files changed, 0 insertions, 0 deletions