Re: [PATCH] RISC-V: tree-optimization/116274 - overzealous SLP vectorization

2024-08-08 Thread Richard Sandiford
Richard Biener writes: >> Am 08.08.2024 um 15:12 schrieb Richard Sandiford : >>>PR tree-optimization/116274 >>>* tree-vect-slp.cc (vect_bb_slp_scalar_cost): Cost scalar loads >>>and stores as simple scalar stmts when they access a non-global, >>>not address-taken variable that does

Re: [PATCH] RISC-V: tree-optimization/116274 - overzealous SLP vectorization

2024-08-08 Thread Richard Biener
> Am 08.08.2024 um 15:12 schrieb Richard Sandiford : > > Richard Biener writes: >> The following tries to address that the vectorizer fails to have >> precise knowledge of argument and return calling conventions and >> views some accesses as loads and stores that are not. >> This is mainly im

Re: [PATCH] RISC-V: tree-optimization/116274 - overzealous SLP vectorization

2024-08-08 Thread Richard Sandiford
Richard Biener writes: > The following tries to address that the vectorizer fails to have > precise knowledge of argument and return calling conventions and > views some accesses as loads and stores that are not. > This is mainly important when doing basic-block vectorization as > otherwise loop i