]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/117147 - bogus re-use of previous ldst_p
authorRichard Biener <rguenther@suse.de>
Tue, 15 Oct 2024 07:22:09 +0000 (09:22 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Oct 2024 09:06:30 +0000 (11:06 +0200)
commit8af474aa5d5efdda7def6cdcec3f246df2c7026a
treeb7351705a2d61adb3490854f311de777464f139a
parentfa90febea9801d4255bf6a1e9f0fd998629c3c7c
tree-optimization/117147 - bogus re-use of previous ldst_p

The following shows that in vect_build_slp_tree_1 we're eventually
re-using the previous lane set ldst_p flag.  Fixed by some
refactoring.

PR tree-optimization/117147
* tree-vect-slp.cc (vect_build_slp_tree_1): Put vars and
initialization of per-lane data into the per-lane processing
loop to avoid re-using previous lane state.
gcc/tree-vect-slp.cc