aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-01-17 13:24:22 +0100
committerRichard Biener <rguenther@suse.de>2024-01-18 08:31:41 +0100
commit0f38666680d6ad0e40c4a8b6d94b2c93931cdf42 (patch)
treeeac6ba0021cd99a85bf208b2b9ecc3943a2fc930 /gcc/sched-int.h
parentcc34fc9ffde60815b6571a60129199ddc5a07ca2 (diff)
downloadgcc-0f38666680d6ad0e40c4a8b6d94b2c93931cdf42.zip
gcc-0f38666680d6ad0e40c4a8b6d94b2c93931cdf42.tar.gz
gcc-0f38666680d6ad0e40c4a8b6d94b2c93931cdf42.tar.bz2
tree-optimization/113374 - early break vect and virtual operands
The following fixes wrong virtual operands being used for peeled early breaks where we can have different live ones and for multiple exits it makes sure to update the correct PHI arguments. I've introduced SET_PHI_ARG_DEF_ON_EDGE so we can avoid using a wrong edge to compute the PHI arg index from. I've took the liberty to understand the code again and refactor and comment it a bit differently. The main functional change is that we preserve the live virtual operand on all exits. PR tree-optimization/113374 * tree-ssa-operands.h (SET_PHI_ARG_DEF_ON_EDGE): New. * tree-vect-loop.cc (move_early_exit_stmts): Update virtual LC PHIs. * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Refactor. Preserve virtual LC PHIs on all exits. * gcc.dg/vect/vect-early-break_106-pr113374.c: New testcase.
Diffstat (limited to 'gcc/sched-int.h')
0 files changed, 0 insertions, 0 deletions