We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355a5d5 commit cbe4499Copy full SHA for cbe4499
llvm/test/TableGen/lit.local.cfg
@@ -1,3 +1,2 @@
1
-config.suffixes = ['.td', '.test']
+config.suffixes = ['.td']
2
config.excludes = ['Common']
3
-config.substitutions.append(('%llvm_lib_dir', f'{config.llvm_lib_dir}'))
llvm/test/TableGen/x86-fold-tables.test renamed to llvm/test/TableGen/x86-fold-tables.td
@@ -3,5 +3,5 @@
// fix the vulnerable rules in X86FoldTablesEmitter.cpp until the diff is reasonable
4
// 2. cp <generated_file> x86-fold-tables.inc
5
6
-// REQUIRES: x86-registered-target
7
-// RUN: diff %p/x86-fold-tables.inc %llvm_lib_dir/Target/X86/X86GenFoldTables.inc
+// RUN: llvm-tblgen -gen-x86-fold-tables -asmwriternum=1 %p/../../lib/Target/X86/X86.td -I %p/../../lib/Target/X86 -I %p/../../include -o %t
+// RUN: diff %p/x86-fold-tables.inc %t
0 commit comments