mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-11 01:30:55 +08:00
testsuite: Extend vector() regexp
For variable-length vectors, the N inside “vector(N) T” can contain the characters ‘[’, ‘]’ and ‘,’. gcc/testsuite/ * gcc.dg/vect/pr91750.c: Allow "[]," inside a vector(...) lane count.
This commit is contained in:
parent
c51f1e7427
commit
903adc062f
@ -11,5 +11,5 @@ foo (int n)
|
||||
}
|
||||
|
||||
/* Make sure the induction IV uses an unsigned increment. */
|
||||
/* { dg-final { scan-tree-dump "vector\\\(\[0-9\]*\\\) unsigned int" "vect" } } */
|
||||
/* { dg-final { scan-tree-dump {vector\([][0-9,]*\) unsigned int} "vect" } } */
|
||||
/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
|
||||
|
Loading…
x
Reference in New Issue
Block a user