[llvm] 056b409 - [llvm-exegesis][x86] Limit llvm-exegesis analysis tests to x86_64 triple hosts

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 06:35:59 PDT 2021


Author: Simon Pilgrim
Date: 2021-09-07T14:35:52+01:00
New Revision: 056b409cebf9005d6f007d198906241acd346e7d

URL: https://github.com/llvm/llvm-project/commit/056b409cebf9005d6f007d198906241acd346e7d
DIFF: https://github.com/llvm/llvm-project/commit/056b409cebf9005d6f007d198906241acd346e7d.diff

LOG: [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

Added: 
    

Modified: 
    llvm/test/tools/llvm-exegesis/X86/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg b/llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
index c8625f4d9d24..6be98bdd7d54 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


        


More information about the llvm-commits mailing list