diff --git a/llvm/test/TableGen/x86-auto-memfold.td b/llvm/test/TableGen/x86-auto-memfold.td --- a/llvm/test/TableGen/x86-auto-memfold.td +++ b/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 diff --git a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp --- a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp +++ b/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 MemInsts;