Re: [PATCH] tree-optimization/111115 - SLP of masked stores

2023-08-24 Thread Richard Biener via Gcc-patches
On Thu, 24 Aug 2023, Robin Dapp wrote: > This causes an ICE in > gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-11.c > (internal compiler error: in get_group_load_store_type, at > tree-vect-stmts.cc:2121) > > #include > > #define TEST_LOOP(DATA_TYPE, INDEX_TYPE)

Re: [PATCH] tree-optimization/111115 - SLP of masked stores

2023-08-24 Thread Robin Dapp via Gcc-patches
This causes an ICE in gcc.target/riscv/rvv/autovec/gather-scatter/mask_gather_load-11.c (internal compiler error: in get_group_load_store_type, at tree-vect-stmts.cc:2121) #include #define TEST_LOOP(DATA_TYPE, INDEX_TYPE) \ void __attribute__ ((noinline,

Re: [PATCH] tree-optimization/111115 - SLP of masked stores

2023-08-24 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The following adds the capability to do SLP on .MASK_STORE, I do not > plan to add interleaving support. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? LGTM, thanks. Richard > Thanks, > Richard. > > PR tree-optimization/15 > gcc/ > *

[PATCH] tree-optimization/111115 - SLP of masked stores

2023-08-23 Thread Richard Biener via Gcc-patches
The following adds the capability to do SLP on .MASK_STORE, I do not plan to add interleaving support. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Thanks, Richard. PR tree-optimization/15 gcc/ * tree-vectorizer.h (vect_slp_child_index_for_operand): New.