[PATCH] D22353: FileCheck Enhancement - CHECK-WORD

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 06:50:36 PDT 2016


Meinersbur added a comment.

In https://reviews.llvm.org/D22353#542382, @alexfh wrote:

> So instead of using `CHECK-WORD: op1`, you could make the pattern stricter by adding more context: `CHECK: {{^}}op1;{{$}}`. Do you have specific examples of output and patterns, where this solution is undesired for some reason?


Most of the time it is not desirable to add the remainder of the line to be checked as well. It could be very long, or just contain irrelevant information (such as the branch sources following basic block names)


https://reviews.llvm.org/D22353





More information about the llvm-commits mailing list