From 3a008b1d124bef50bd7ae12106c90c3230eb2d57 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 8 Dec 2020 11:44:35 +0100 Subject: [PATCH] testsuite/95900 - fix gcc.dg/vect/bb-slp-pr95866.c target requirement We require a vector-by-scalar shift, there's no appropriate target selector so use SSE2 for now. 2020-12-08 Richard Biener PR testsuite/95900 * gcc.dg/vect/bb-slp-pr95866.c: Require sse2 for the BIT_FIELD_REF match. --- gcc/testsuite/gcc.dg/vect/bb-slp-pr95866.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr95866.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr95866.c index edcaf17728e..14826b53cab 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr95866.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr95866.c @@ -13,5 +13,5 @@ void foo() } /* The scalar shift argument should be extracted from the available vector. */ -/* { dg-final { scan-tree-dump "BIT_FIELD_REF" "slp2" } } */ +/* { dg-final { scan-tree-dump "BIT_FIELD_REF" "slp2" { target sse2 } } } */ /* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */ -- 2.30.2