Skip to content

Commit

Permalink
[TLI checker] Follow good practice with -COUNT directives
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pogo59 committed Dec 2, 2021
1 parent 081074e commit 7bef492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
Expand Up @@ -47,7 +47,9 @@
## to -COUNT can't be an expression.
# AVAIL: TLI knows 468 symbols, 235 available
# AVAIL-COUNT-235: {{^}} available
# AVAIL-NOT: {{^}} available
# UNAVAIL-COUNT-233: not available
# UNAVAIL-NOT: not available

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

0 comments on commit 7bef492

Please sign in to comment.