]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/116397 - avoid looking for "VEC_PERM_EXPR"
authorRichard Biener <rguenther@suse.de>
Fri, 20 Sep 2024 11:47:34 +0000 (13:47 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 Sep 2024 11:51:37 +0000 (13:51 +0200)
With SLP this token appears a lot, when looking for what gets code
generated instead look for " = VEC_PERM_EXPR"

PR testsuite/116397
* gcc.dg/vect/slp-reduc-3.c: Look for " = VEC_PERM_EXPR"
instead of "VEC_PERM_EXPR".

gcc/testsuite/gcc.dg/vect/slp-reduc-3.c

index 9e29757717fe4729fb86133c7ecb4880d00805dd..614d8ad17ca1629af9f43cedec3cbed197d9a582 100644 (file)
@@ -62,4 +62,4 @@ int main (void)
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_short_mult && { vect_widen_sum_hi_to_si  && vect_unpack } } } } } */ 
 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail { vect_widen_sum_hi_to_si_pattern || { ! { vect_short_mult && { vect_widen_sum_hi_to_si  && vect_unpack } } } } } } } */
 /* Check we can elide permutes if SLP vectorizing the reduction.  */
-/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 0 "vect" { xfail { { { vect_widen_sum_hi_to_si_pattern || { ! vect_unpack } } && { ! vect_load_lanes } } && { vect_short_mult && { vect_widen_sum_hi_to_si  && vect_unpack } } } } } } */
+/* { dg-final { scan-tree-dump-times " = VEC_PERM_EXPR" 0 "vect" { xfail { { { vect_widen_sum_hi_to_si_pattern || { ! vect_unpack } } && { ! vect_load_lanes } } && { vect_short_mult && { vect_widen_sum_hi_to_si  && vect_unpack } } } } } } */