[PATCH] D107614: Replace "CHECK-NOT: #{{.*}}" with same-line positive checks. NFC.

Ryan Prichard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 17:28:54 PDT 2021


rprichard added inline comments.


================
Comment at: llvm/test/Transforms/InferFunctionAttrs/annotate.ll:372
+; CHECK-KNOWN: declare i32 @ffsll(i64) [[NOFREE_NOUNWIND_WILLRETURN]]
+; CHECK-UNKNOWN: declare i32 @ffsll(i64){{$}}
 declare i32 @ffsll(i64)
----------------
Whenever `CHECK` is selected with `FileCheck --check-prefixes=`, exactly one of `CHECK-KNOWN` or `CHECK-UNKNOWN` is also selected, so replacing the `CHECK:` on ffsl and ffsll isn't reducing the test coverage.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107614/new/

https://reviews.llvm.org/D107614



More information about the llvm-commits mailing list