Re: [PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD

2023-10-20 Thread Richard Biener
136696c5593d9bc9efd0d145f89a81d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 20 Oct 2023 09:30:45 +0200 Subject: [PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD To: gcc-patches@gcc.gnu.org I went a little bit too simple with implementing SLP gather supp

Re: [PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD

2023-10-20 Thread Lehua Ding
Hi Richard, On 2023/10/20 16:28, Richard Biener wrote: On Fri, 20 Oct 2023, Lehua Ding wrote: Hi Richard, I recompile the testcase with the fixup patch and still get the same ICE. The following fixes it. Using this patch did fix it, thank you very much. From

Re: [PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD

2023-10-20 Thread Richard Biener
On Fri, 20 Oct 2023, Lehua Ding wrote: > Hi Richard, > > I recompile the testcase with the fixup patch and still get the same ICE. The following fixes it. >From 377e911b1b64298def75ba9d9c46fdd22fe4cf84 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 20 Oct 2023 10:25:31 +0200

Re: [PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD

2023-10-20 Thread Lehua Ding
Hi Richard, I recompile the testcase with the fixup patch and still get the same ICE. On 2023/10/20 15:37, Richard Biener wrote: I went a little bit too simple with implementing SLP gather support for emulated and builtin based gathers. The following fixes the conflict that appears when

[PATCH] Fixup vect_get_and_check_slp_defs for gathers and .MASK_LOAD

2023-10-20 Thread Richard Biener
I went a little bit too simple with implementing SLP gather support for emulated and builtin based gathers. The following fixes the conflict that appears when running into .MASK_LOAD where we rely on vect_get_operand_map and the bolted-on STMT_VINFO_GATHER_SCATTER_P checking wrecks that. The