Skip to content

Commit 7bef492

Browse files
committed
[TLI checker] Follow good practice with -COUNT directives
FileCheck's -COUNT suffix doesn't fail if there are more matches than you asked for, so it's good practice to put a -NOT after.
1 parent 081074e commit 7bef492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@
4747
## to -COUNT can't be an expression.
4848
# AVAIL: TLI knows 468 symbols, 235 available
4949
# AVAIL-COUNT-235: {{^}} available
50+
# AVAIL-NOT: {{^}} available
5051
# UNAVAIL-COUNT-233: not available
52+
# UNAVAIL-NOT: not available
5153

5254
## This is a large file so it's worth telling lit to stop here.
5355
# END.

0 commit comments

Comments
 (0)