tree-optimization/117050 - fix ICE with non-grouped .MASK_LOAD SLP
commitaa4c55b13049cbd282cc0e043cc3e45423fdd6de
authorRichard Biener <rguenther@suse.de>
Thu, 10 Oct 2024 09:02:47 +0000 (10 11:02 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 11 Oct 2024 07:14:22 +0000 (11 09:14 +0200)
tree266e0346837e14faf00b573c54e68b8bcdee4437
parentcb0988a659cef6324887018b9066c5f81b558832
tree-optimization/117050 - fix ICE with non-grouped .MASK_LOAD SLP

The following temporarily reverts the support of permuted .MASK_LOAD for the
case of non-grouped accesses.

PR tree-optimization/117050
* tree-vect-slp.cc (vect_build_slp_tree_2): Do not support
permutes of non-grouped .MASK_LOAD.

* gcc.dg/vect/pr117050.c: New testcase.
gcc/testsuite/gcc.dg/vect/pr117050.c [new file with mode: 0644]
gcc/tree-vect-slp.cc