[PATCH] D146502: [X86][MemFold] Stop emitting Header for X86 fold tables

Bing Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 01:38:59 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGdb8c0b295d27: [X86][MemFold] Stop emitting Header for X86 fold tables (authored by yubing).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146502

Files:
  llvm/test/TableGen/x86-auto-memfold.td
  llvm/utils/TableGen/X86FoldTablesEmitter.cpp


Index: llvm/utils/TableGen/X86FoldTablesEmitter.cpp
===================================================================
--- llvm/utils/TableGen/X86FoldTablesEmitter.cpp
+++ llvm/utils/TableGen/X86FoldTablesEmitter.cpp
@@ -523,7 +523,6 @@
 
 void X86FoldTablesEmitter::run(raw_ostream &o) {
   formatted_raw_ostream OS(o);
-  emitSourceFileHeader("X86 fold tables", OS);
 
   // Holds all memory instructions
   std::vector<const CodeGenInstruction *> MemInsts;
Index: llvm/test/TableGen/x86-auto-memfold.td
===================================================================
--- llvm/test/TableGen/x86-auto-memfold.td
+++ llvm/test/TableGen/x86-auto-memfold.td
@@ -1,2 +1,2 @@
 // RUN: llvm-tblgen -gen-x86-fold-tables -asmwriternum=1 %p/../../lib/Target/X86/X86.td -I %p/../../include -I %p/../../lib/Target/X86/ -I %p/../../include/ -I %p/../../lib/Target/ --write-if-changed  -o %t1
-// RUN: cmp  --ignore-initial=0:568 %p/../../lib/Target/X86/X86MemFoldTables.inc %t1
+// RUN: cmp %p/../../lib/Target/X86/X86MemFoldTables.inc %t1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146502.506870.patch
Type: text/x-patch
Size: 1034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230321/b6e689fa/attachment.bin>


More information about the llvm-commits mailing list