[PATCH] D147835: [X86][mem-fold] Speed up test by not re-generating the .inc file

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 18:26:07 PDT 2023


pengfei accepted this revision.
pengfei added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/test/TableGen/x86-fold-tables.td: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
-// RUN: diff %p/x86-fold-tables.inc %t
+// RUN: diff %p/x86-fold-tables.inc %llvm_lib_dir/Target/X86/X86GenFoldTables.inc
----------------
Maybe change name to `x86-fold-tables.test` given it is a pure compare test now?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147835/new/

https://reviews.llvm.org/D147835



More information about the llvm-commits mailing list