gcc/libgomp/testsuite
Richard Biener 68d2dbf845 tree-optimization/100981 - fix SLP patterns involving reductions
The following fixes the SLP FMA patterns to preserve reduction
info and the reduction vectorization to consider internal function
call defs for the reduction stmt.

2021-06-09  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/100981
gcc/
	* tree-vect-loop.c (vect_create_epilog_for_reduction): Use
	gimple_get_lhs to also handle calls.
	* tree-vect-slp-patterns.c (complex_pattern::build): Transfer
	reduction info.

gcc/testsuite/
	* gfortran.dg/vect/pr100981-1.f90: New testcase.

libgomp/
	* testsuite/libgomp.fortran/pr100981-2.f90: New testcase.
2021-06-16 14:08:34 +02:00
..
config
lib
libgomp.c
libgomp.c-c++-common openmp: Notify team barrier of pending tasks in omp_fulfill_event 2021-05-17 13:59:35 -07:00
libgomp.c++
libgomp.fortran tree-optimization/100981 - fix SLP patterns involving reductions 2021-06-16 14:08:34 +02:00
libgomp.graphite
libgomp.oacc-c
libgomp.oacc-c-c++-common
libgomp.oacc-c++
libgomp.oacc-fortran
libgomp-site-extra.exp.in
libgomp-test-support.exp.in
Makefile.am
Makefile.in