testsuite/97299 - fix test condition of gcc.dg/vect/slp-reduc-3.c
authorRichard Biener <rguenther@suse.de>
Mon, 18 Jan 2021 13:51:00 +0000 (14:51 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 18 Jan 2021 13:52:12 +0000 (14:52 +0100)
commit104304cd246e9e8cd874f6cef7e2a5cd4bb0114d
tree8216d89f24b3933130b081402532fff3ba3324bd
parenta81d2f1e414836549b909f2de927b6ae10e8b156
testsuite/97299 - fix test condition of gcc.dg/vect/slp-reduc-3.c

This avoids looking for permute optimization when SLP cannot be applied.

2021-01-18  Richard Biener  <rguenther@suse.de>

PR testsuite/97299
* gcc.dg/vect/slp-reduc-3.c: Guard VEC_PERM_EXPR scan.
gcc/testsuite/gcc.dg/vect/slp-reduc-3.c