diff options
author | Richard Biener <rguenther@suse.de> | 2024-01-19 13:55:09 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2024-01-22 08:48:26 +0100 |
commit | 86f3cbdaa6f60eaff1cdb4ab2f1a9bc796b67207 (patch) | |
tree | 702e743b95c9c643df4c16dd2f735212b648c736 /gcc/cfghooks.h | |
parent | a618b3c65745a6992ced4df60c186241c2da6eae (diff) | |
download | gcc-86f3cbdaa6f60eaff1cdb4ab2f1a9bc796b67207.zip gcc-86f3cbdaa6f60eaff1cdb4ab2f1a9bc796b67207.tar.gz gcc-86f3cbdaa6f60eaff1cdb4ab2f1a9bc796b67207.tar.bz2 |
tree-optimization/113373 - add missing LC PHIs for live operations
The following makes reduction epilogue code generation happy by properly
adding LC PHIs to the exit blocks for multiple exit vectorized loops.
Some refactoring might make the flow easier to follow but I've refrained
from doing that with this patch.
I've kept some fixes in reduction epilogue generation from the earlier
attempt fixing this PR.
PR tree-optimization/113373
* tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg):
Create LC PHIs in the exit blocks where necessary.
* tree-vect-loop.cc (vectorizable_live_operation): Do not try
to handle missing LC PHIs.
(find_connected_edge): Remove.
(vect_create_epilog_for_reduction): Cleanup use of auto_vec.
* gcc.dg/vect/vect-early-break_104-pr113373.c: New testcase.
Diffstat (limited to 'gcc/cfghooks.h')
0 files changed, 0 insertions, 0 deletions