[PATCH] D22501: FileCheck Enhancement - Expressions repeat for CHECK and CHECK-NEXT

Elena Lepilkina via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 00:00:44 PDT 2016


eklepilkina added a comment.

In https://reviews.llvm.org/D22501#551507, @alexfh wrote:

> This patch brings up a number of questions:
>
> 1. What's your use case? Optimizing tests by replacing a known number of check lines with repeated patterns? Or is the number of patterns you expect not known in advance?


Both first and second case.

> 2. Are there possible usages of this feature in LLVM tests already?


I don't know LLVM tests well to answer this question.

> 3. How is this going to interact with [[@LINE]]?


I used FileCheck Match function in loop, so it will be real LINE value. I don't change matching.


https://reviews.llvm.org/D22501





More information about the llvm-commits mailing list