[PATCH] Add ALL to FileCheck

Stephen Lin swlin at post.harvard.edu
Mon Aug 12 22:11:21 PDT 2013


Instead of hardcoding a specific "ALL" prefix, why not make it so that
you can specify more than one prefix at a time on the command line?

That way, you can share a single prefix for the majority of tests by
simply specifying it on the command line for each test without having
a "magic" string that is on all the time, which could lead to
unexpected behavior if someone is unaware of its existence.

Stephen

On Mon, Aug 12, 2013 at 7:20 PM, Matt Arsenault
<Matthew.Arsenault at amd.com> wrote:
> This provides an implied prefix that will match no matter what -check-prefix is. This is useful for tests that are run multiple times with different options, but the majority of tested lines will be the same.
>
> http://llvm-reviews.chandlerc.com/D1374
>
> Files:
>   docs/CommandGuide/FileCheck.rst
>   test/CodeGen/ARM/fast-isel-load-store-verify.ll
>   test/MC/ARM/arm_instructions.s
>   utils/FileCheck/FileCheck.cpp
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



More information about the llvm-commits mailing list