diff options
author | Jeff Law <law@redhat.com> | 2016-02-05 16:49:08 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-02-05 16:49:08 -0700 |
commit | 8981d7127bf3caffdb760897def90c8f0e052931 (patch) | |
tree | 5be1fac9c9d036bd4399cd0e8b410fe02c9c7c73 /gcc/ada/gcc-interface/utils.c | |
parent | 46cb933227a0c1cd1e8fca1c3c7179c3bee41be3 (diff) | |
download | gcc-8981d7127bf3caffdb760897def90c8f0e052931.zip gcc-8981d7127bf3caffdb760897def90c8f0e052931.tar.gz gcc-8981d7127bf3caffdb760897def90c8f0e052931.tar.bz2 |
re PR tree-optimization/68541 (Path splitting causes if-conversion miss)
PR tree-optimization/68541
* gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
(count_stmts_in_block): New function.
(poor_ifcvt_candidate_code): Likewise.
(is_feasible_trace): Add some heuristics to determine when path
splitting is profitable.
(find_block_to_duplicate_for_splitting_paths): Make sure the graph
is a diamond with a single exit.
PR tree-optimization/68541
* gcc.dg/tree-ssa/split-path-2.c: New test.
* gcc.dg/tree-ssa/split-path-3.c: New test.
* gcc.dg/tree-ssa/split-path-4.c: New test.
* gcc.dg/tree-ssa/split-path-5.c: New test.
* gcc.dg/tree-ssa/split-path-6.c: New test.
* gcc.dg/tree-ssa/split-path-7.c: New test.
From-SVN: r233191
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions