]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/114057 - handle BB reduction remain defs as LIVE
authorRichard Biener <rguenther@suse.de>
Wed, 27 Mar 2024 10:37:16 +0000 (11:37 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 27 Mar 2024 11:49:44 +0000 (12:49 +0100)
commit0b02da5b99e89347f5f8bf875ec8318f84adff18
tree81a85dc03e2e1a3abb10ef3ca1e4ea20f68c082b
parentaac30f8416e992c524b86eaa40f35f30fe04b755
tree-optimization/114057 - handle BB reduction remain defs as LIVE

The following makes sure to record the scalars we add to the BB
reduction vectorization result as scalar uses for the purpose of
computing live lanes.  This restores vectorization in the
bondfree.c TU of 435.gromacs.

PR tree-optimization/114057
* tree-vect-slp.cc (vect_bb_slp_mark_live_stmts): Mark
BB reduction remain defs as scalar uses.
gcc/tree-vect-slp.cc