[PATCH] D123897: [X86] Unbreak LIT/FileCheck
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 16 07:29:51 PDT 2022
lebedev.ri updated this revision to Diff 423237.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.
Drop python syntax hint.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123897/new/
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,7 @@
+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 --------------
A non-text attachment was scrubbed...
Name: D123897.423237.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220416/85f63c7f/attachment.bin>
More information about the llvm-commits
mailing list