Re: [PATCH] vect: Fix aarch64/pr99873_2.c ld4/st4 failure

2025-03-14 Thread Richard Sandiford
Richard Biener writes: > On Thu, 13 Mar 2025, Richard Sandiford wrote: >> vect_slp_prefer_store_lanes_p allows an SLP tree to be split even >> if the tree could use store-lanes, provided that one of the new >> groups would operate on full vectors for each scalar iteration. >> That heuristic is no

[PATCH] vect: Fix aarch64/pr99873_2.c ld4/st4 failure

2025-03-14 Thread Richard Sandiford
[Reposting to CC the RISC-V CI] vect_slp_prefer_store_lanes_p allows an SLP tree to be split even if the tree could use store-lanes, provided that one of the new groups would operate on full vectors for each scalar iteration. That heuristic is no longer firing for gcc.target/aarch64/pr99873_2.c.

Re: [PATCH] vect: Fix aarch64/pr99873_2.c ld4/st4 failure

2025-03-14 Thread Richard Biener
On Thu, 13 Mar 2025, Richard Sandiford wrote: > vect_slp_prefer_store_lanes_p allows an SLP tree to be split even > if the tree could use store-lanes, provided that one of the new > groups would operate on full vectors for each scalar iteration. > That heuristic is no longer firing for gcc.target/

[PATCH] vect: Fix aarch64/pr99873_2.c ld4/st4 failure

2025-03-13 Thread Richard Sandiford
vect_slp_prefer_store_lanes_p allows an SLP tree to be split even if the tree could use store-lanes, provided that one of the new groups would operate on full vectors for each scalar iteration. That heuristic is no longer firing for gcc.target/aarch64/pr99873_2.c. The test contains: void __attrib