Re: [PATCH 3/6] vect: Set STMT_VINFO_REDUC_DEF for non-live stmt in loop reduction

2024-06-13 Thread Feng Xue OS
gcc_assert (reduction_type != EXTRACT_LAST_REDUCTION -- 2.17.1 From: Feng Xue OS Sent: Thursday, May 30, 2024 10:51 PM To: Richard Biener Cc: Tamar Christina; gcc-patches@gcc.gnu.org Subject: [PATCH 3/6] vect: Set STMT_VINFO_REDUC_DEF for non-live stmt i

[PATCH 3/6] vect: Set STMT_VINFO_REDUC_DEF for non-live stmt in loop reduction

2024-05-30 Thread Feng Xue OS
Normally, vectorizable checking on statement in a loop reduction chain does not use the reduction PHI information. But some special statements might need it in vectorizable analysis, especially, for multiple lane-reducing operations support later. Thanks, Feng --- gcc/ * tree-vect-loop.cc