tree-optimization/117050 - fix ICE with non-grouped .MASK_LOAD SLP
commitae224de0631a7fcac37ac1384f457f1dc1a487b2
authorRichard Biener <rguenther@suse.de>
Thu, 10 Oct 2024 09:02:47 +0000 (10 11:02 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 16 Oct 2024 11:02:53 +0000 (16 13:02 +0200)
treeb9d1110455844444547b4285ac3d1e36393cabbe
parent962a994d57f5b39c92d26b0446dbe6de9aa8910a
tree-optimization/117050 - fix ICE with non-grouped .MASK_LOAD SLP

The following is a more complete fix for PR117050, restoring the
ability to permute non-grouped .MASK_LOAD with.

PR tree-optimization/117050
* tree-vect-slp.cc (vect_build_slp_tree_2): Properly handle
non-grouped masked loads when handling permutations.
gcc/tree-vect-slp.cc