[PATCH] D123897: [X86] Unbreak LIT/FileCheck

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 17 03:06:14 PDT 2022


Could we hold off pushing this forwards please for a couple of days? Easter
weekend is time off work for many people.

On Sat, 16 Apr 2022, 14:02 Roman Lebedev via Phabricator, <
reviews at reviews.llvm.org> wrote:

> lebedev.ri created this revision.
> lebedev.ri added reviewers: RKSimon, jdoerfert, craig.topper, nikic,
> mtrofin, jhenderson, MaskRay.
> lebedev.ri added a project: LLVM.
> Herald added subscribers: StephenFan, pengfei.
> Herald added a project: All.
> lebedev.ri requested review of this revision.
>
> D95849 <https://reviews.llvm.org/D95849> was a tragedy/sabotage that
> should have never happened.
> It makes writing new codegen tests impossible.
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> https://reviews.llvm.org/D123897
>
> Files:
>   llvm/test/CodeGen/X86/lit.local.cfg
>
>
> Index: llvm/test/CodeGen/X86/lit.local.cfg
> ===================================================================
> --- llvm/test/CodeGen/X86/lit.local.cfg
> +++ llvm/test/CodeGen/X86/lit.local.cfg
> @@ -1,2 +1,8 @@
> +# -*- Python -*- vim: set ft=python ts=4 sw=4 expandtab tw=79:
> +from lit.llvm.subst import ToolSubst
> +
>  if not 'X86' in config.root.targets:
>      config.unsupported = True
> +
> +fc = ToolSubst('FileCheck', unresolved='fatal')
> +config.substitutions.insert(0, (fc.regex, 'FileCheck
> --allow-unused-prefixes'))
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220417/699fe653/attachment.html>


More information about the llvm-commits mailing list