From be12e7c72676a25cf1cd2fef513066283887760a Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 20 Nov 2019 21:08:52 +0000 Subject: [PATCH] Adjust expected output for bb-slp-21.c (PR 92527) After r278246, we can try building the out[] store value from scalars if the target has no multiplication support. That's not necessarily a good thing, but like most of vect/, this test is run with the cost model disabled. 2019-11-20 Richard Sandiford gcc/testsuite/ PR testsuite/92527 * gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized, regardless of whether the target supports multiplication. From-SVN: r278531 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/bb-slp-21.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 36fabc7..4dcb967 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-20 Richard Sandiford + + PR testsuite/92527 + * gcc.dg/vect/bb-slp-21.c: Expect both SLP groups to be vectorized, + regardless of whether the target supports multiplication. + 2019-11-20 Paolo Carlini * g++.dg/parse/error43.C: Adjust expected error. diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-21.c b/gcc/testsuite/gcc.dg/vect/bb-slp-21.c index c45eb44..5464d09 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-21.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-21.c @@ -64,6 +64,5 @@ int main (void) } /* { dg-final { scan-tree-dump-times "basic block vectorized" 1 "slp2" } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "slp2" { target { ! {vect_int_mult } } } } } */ -/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" { target vect_int_mult } } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "slp2" } } */ -- 2.7.4