[X86][MemFold] Stop emitting Header for X86 fold tables
authorBing1 Yu <bing1.yu@intel.com>
Tue, 21 Mar 2023 08:38:05 +0000 (16:38 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Tue, 21 Mar 2023 08:38:42 +0000 (16:38 +0800)
Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D146502

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

index 55bb887..548b63e 100644 (file)
@@ -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
index 864f402..f43babd 100644 (file)
@@ -523,7 +523,6 @@ void X86FoldTablesEmitter::updateTables(const CodeGenInstruction *RegInstr,
 
 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;