From 056b409cebf9005d6f007d198906241acd346e7d Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 7 Sep 2021 14:33:03 +0100 Subject: [PATCH] [llvm-exegesis][x86] Limit llvm-exegesis analysis tests to x86_64 triple hosts Attempting to fix an issue with test failures on arm m1 apple macintoshes reported on D109353 --- llvm/test/tools/llvm-exegesis/X86/lit.local.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg index c8625f4d9d248..6be98bdd7d54e 100644 --- a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg +++ b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg @@ -1,2 +1,7 @@ -if not 'X86' in config.root.targets: +if not ('X86' in config.root.targets): + # We need support for X86. config.unsupported = True + +elif not ('x86_64' in config.root.host_triple): + # We need to be running on an X86 host. + config.unsupported = True \ No newline at end of file