[PATCH] D22353: FileCheck Enhancement - CHECK-WORD

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 07:20:33 PDT 2016


Meinersbur added a comment.

I am in support of such a switch. As already mentioned that once I got bitten that

  ; CHECK: br

to check for a branch instruction also matched unrelated lines eg.

  %2 = add i32 %subregion, i32 5

Such an option would lower the probability of such mismatches. I'd prefer this mode for all my tests but introducing an opt-in switch for compatibility is a good idea.


https://reviews.llvm.org/D22353





More information about the llvm-commits mailing list