[llvm] 7bef492 - [TLI checker] Follow good practice with -COUNT directives
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 2 14:28:35 PST 2021
Author: Paul Robinson
Date: 2021-12-02T14:28:26-08:00
New Revision: 7bef49296e05579f848f2e175f122881bf7e8163
URL: https://github.com/llvm/llvm-project/commit/7bef49296e05579f848f2e175f122881bf7e8163
DIFF: https://github.com/llvm/llvm-project/commit/7bef49296e05579f848f2e175f122881bf7e8163.diff
LOG: [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.
Added:
Modified:
llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml b/llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
index 76c3f0f9995bb..f2a54daf81629 100644
--- a/llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
+++ b/llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
@@ -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.
More information about the llvm-commits
mailing list