Skip to content

Commit cbe4499

Browse files
committed
Revert "[X86][mem-fold] Speed up test by not re-generating the .inc file"
This reverts commit 070233d. It also reverts follow-ups 2588e83 and 027f60a.
1 parent 355a5d5 commit cbe4499

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

llvm/test/TableGen/lit.local.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
config.suffixes = ['.td', '.test']
1+
config.suffixes = ['.td']
22
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
// fix the vulnerable rules in X86FoldTablesEmitter.cpp until the diff is reasonable
44
// 2. cp <generated_file> x86-fold-tables.inc
55

6-
// REQUIRES: x86-registered-target
7-
// RUN: diff %p/x86-fold-tables.inc %llvm_lib_dir/Target/X86/X86GenFoldTables.inc
6+
// 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
7+
// RUN: diff %p/x86-fold-tables.inc %t

0 commit comments

Comments
 (0)