Skip to content

Commit

Permalink
[X86][mem-fold] Speed up test by not re-generating the .inc file
Browse files Browse the repository at this point in the history
Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D147835
  • Loading branch information
KanRobert committed Apr 11, 2023
1 parent 898a9ca commit 070233d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion llvm/test/TableGen/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
config.suffixes = ['.td']
config.suffixes = ['.td', '.test']
config.excludes = ['Common']
config.substitutions.append(('%llvm_lib_dir', f'{config.llvm_lib_dir}'))
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
// fix the vulnerable rules in X86FoldTablesEmitter.cpp until the diff is reasonable
// 2. cp <generated_file> x86-fold-tables.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
// RUN: diff %p/x86-fold-tables.inc %llvm_lib_dir/Target/X86/X86GenFoldTables.inc

0 comments on commit 070233d

Please sign in to comment.