[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Sandiford changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:03299164830e19405b35a5fa862e248df4ea01e2 commit r15-4115-g03299164830e19405b35a5fa862e248df4ea01e2 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1732298d51028ae50a802e538df5d7249556255d commit r15-4112-g1732298d51028ae50a802e538df5d7249556255d Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:8157f3f2d211bfbf53fbf8dd209b47ce583f4142 commit r15-4114-g8157f3f2d211bfbf53fbf8dd209b47ce583f4142 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:2abd04d01bc4e18158c785e75c91576b836f3ba6 commit r15-4113-g2abd04d01bc4e18158c785e75c91576b836f3ba6 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #11 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:1048ebbbdc98a5928a974356d7f4244603b6bd32 commit r15-4110-g1048ebbbdc98a5928a974356d7f4244603b6bd32 Author: Richard Sandiford D

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #10 from Richard Sandiford --- I have a proof-of-concept hack (far from submission quality). But it looks like some cases will also require us to extend aarch64_evpc_reencode to handle SVE modes, which is also worthwhile for its own

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Sandiford changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassig

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-10-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #8 from Richard Biener --- This is now also the only reason gcc.dg/vect/slp-12a.c FAILs to SLP on aarch64 when SVE is enabled (riscv handles it with load-lanes for the group size of 8).

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #7 from Richard Sandiford --- ...actually, they probably don't need to bijective. I suppose [0, 0] for two-lane SLP is handled too.

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-30 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #6 from Richard Sandiford --- Sorry for the slow response (here and in general). Been having to spend my time on other things recently :( I agree that this case is regular enough to handle for VLA, but it seems to me like a separat

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail --- Comment #5 from Ric

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #4 from Richard Biener --- So the key to notice here is the regular interleaving knows there's enough vectors to perform two-vector to one permutes within the same group and we only have a single child for the VEC_PERM_EXPR which for

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-20 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 --- Comment #3 from Tamar Christina --- (In reply to Richard Biener from comment #2) > Another example this shows is for gcc.dg/vect/slp-42.c - we definitely can > do the interleaving scheme as non-SLP vectorization shows. > > gcc.dg/vect/slp-4

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-09-20 Target|

[Bug tree-optimization/116583] vectorizable_slp_permutation cannot handle even/odd extract from VLA vector

2024-09-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116583 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org