diff options
author | Martin Liska <mliska@suse.cz> | 2021-12-07 16:59:48 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-12-08 19:20:15 +0100 |
commit | df704591a2cad3526456aa77be403d21c822724d (patch) | |
tree | 226d3cfe0bb0322a14650b5381c7e69c22f01826 /gcc/fortran/array.c | |
parent | e7fac1e1a5858abc9737518ddbdac780fd2ad8b8 (diff) | |
download | gcc-df704591a2cad3526456aa77be403d21c822724d.zip gcc-df704591a2cad3526456aa77be403d21c822724d.tar.gz gcc-df704591a2cad3526456aa77be403d21c822724d.tar.bz2 |
Use -fopt-info in unswitch pass.
gcc/ChangeLog:
* profile-count.c (profile_count::dump): Add function
that can dump to a provided buffer.
(profile_probability::dump): Likewise.
* profile-count.h: Likewise.
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop):
Use dump_printf_loc infrastructure.
(tree_unswitch_outer_loop): Likewise.
(find_loop_guard): Likewise.
(hoist_guard): Likewise.
gcc/testsuite/ChangeLog:
* gcc.dg/loop-unswitch-1.c: Adjust test-case based on
dump_printf_loc.
* gcc.dg/loop-unswitch-2.c: Likewise.
* gcc.dg/loop-unswitch-3.c: Likewise.
* gcc.dg/loop-unswitch-4.c: Likewise.
* gcc.dg/loop-unswitch-5.c: Likewise.
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions