diff options
author | Richard Biener <rguenther@suse.de> | 2023-11-03 14:24:10 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-11-06 14:12:46 +0100 |
commit | bf72d50d16f0c1fa8102ca2544d2a05772f8c273 (patch) | |
tree | b89ee01e74f269bf2de28c89b8006fabf422c496 /gcc/fortran | |
parent | 3cc9ad41db87fb85b13a56bff1f930c258542a70 (diff) | |
download | gcc-bf72d50d16f0c1fa8102ca2544d2a05772f8c273.zip gcc-bf72d50d16f0c1fa8102ca2544d2a05772f8c273.tar.gz gcc-bf72d50d16f0c1fa8102ca2544d2a05772f8c273.tar.bz2 |
tree-optimization/111950 - vectorizer loop copying
The following simplifies LC-PHI arg population during epilog peeling,
thereby fixing the testcase in this PR.
PR tree-optimization/111950
* tree-vect-loop-manip.cc (slpeel_duplicate_current_defs_from_edges):
Remove.
(find_guard_arg): Likewise.
(slpeel_update_phi_nodes_for_guard2): Likewise.
(slpeel_tree_duplicate_loop_to_edge_cfg): Remove calls to
slpeel_duplicate_current_defs_from_edges, do not elide
LC-PHIs for invariant values.
(vect_do_peeling): Materialize PHI arguments for the edge
around the epilog from the PHI defs of the main loop exit.
* gcc.dg/torture/pr111950.c: New testcase.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions