From: Richard Biener Date: Tue, 8 Dec 2020 10:44:35 +0000 (+0100) Subject: testsuite/95900 - fix gcc.dg/vect/bb-slp-pr95866.c target requirement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a008b1d124bef50bd7ae12106c90c3230eb2d57;p=gcc.git 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. --- 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" } } */