testsuite/95900 - fix gcc.dg/vect/bb-slp-pr95866.c target requirement
authorRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 10:44:35 +0000 (11:44 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 8 Dec 2020 11:56:44 +0000 (12:56 +0100)
We require a vector-by-scalar shift, there's no appropriate target
selector so use SSE2 for now.

2020-12-08  Richard Biener  <rguenther@suse.de>

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

index edcaf17728e2d134679e2a530adb68c3dc56c30e..14826b53cab2686a293195ee4c08ae86283e91fa 100644 (file)
@@ -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" } } */