[llvm] 7e271c2 - [TableGen] Fix test on macOS
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 15:44:46 PDT 2023
Author: Shoaib Meenai
Date: 2023-03-16T15:43:36-07:00
New Revision: 7e271c2a85520d23de64b492c5a245662a5c3b57
URL: https://github.com/llvm/llvm-project/commit/7e271c2a85520d23de64b492c5a245662a5c3b57
DIFF: https://github.com/llvm/llvm-project/commit/7e271c2a85520d23de64b492c5a245662a5c3b57.diff
LOG: [TableGen] Fix test on macOS
macOS cmp requires the option to appear before the file names.
Added:
Modified:
llvm/test/TableGen/x86-auto-memfold.td
Removed:
################################################################################
diff --git a/llvm/test/TableGen/x86-auto-memfold.td b/llvm/test/TableGen/x86-auto-memfold.td
index 6ffe61865a86b..bb2c124724d64 100644
--- 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 %p/../../lib/Target/X86/X86MemFoldTables.inc %t1 --ignore-initial=0:568
+// RUN: cmp --ignore-initial=0:568 %p/../../lib/Target/X86/X86MemFoldTables.inc %t1
More information about the llvm-commits
mailing list