aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-05-29 10:41:51 +0200
committerRichard Biener <rguenther@suse.de>2024-05-29 12:58:08 +0200
commit1065a7db6f2a69770a85b4d53b9123b090dd1771 (patch)
tree61464923d85c641d70d15d19976694820f62becd /gcc/tree-vect-loop.c
parent9c6e75a6d1cc2858fc945266a5edb700edb44389 (diff)
downloadgcc-1065a7db6f2a69770a85b4d53b9123b090dd1771.zip
gcc-1065a7db6f2a69770a85b4d53b9123b090dd1771.tar.gz
gcc-1065a7db6f2a69770a85b4d53b9123b090dd1771.tar.bz2
tree-optimization/114435 - pcom left around copies confusing SLP
The following arranges for the pre-SLP vectorization scalar cleanup to be run when predictive commoning was applied to a loop in the function. This is similar to the complete unroll situation and facilitating SLP vectorization. Avoiding the SSA copies in predictive commoning itself isn't easy (and predcom also sometimes unrolls, asking for scalar cleanup). PR tree-optimization/114435 * tree-predcom.cc (tree_predictive_commoning): Queue the next scalar cleanup sub-pipeline to be run when we did something. * gcc.dg/vect/bb-slp-pr114435.c: New testcase.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions