[PATCH] D145763: llvm-exegesis: Only run X86 tests on X86 hosts

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 21:11:09 PST 2023


tstellar created this revision.
tstellar added reviewers: courbet, lebedev.ri.
Herald added subscribers: StephenFan, mstojanovic, pengfei.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.

These tests were failing on SystemZ host, I don't think JIT'ing X86
modules on SystemZ is supported.

The tests were initiallay enabled on all arches by
7a76140220bd2c4730a2c39b6fd645402040f011 <https://reviews.llvm.org/rG7a76140220bd2c4730a2c39b6fd645402040f011>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145763

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


Index: llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
===================================================================
--- llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
+++ llvm/test/tools/llvm-exegesis/X86/lit.local.cfg
@@ -1,3 +1,6 @@
 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145763.504017.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/eb82d220/attachment.bin>


More information about the llvm-commits mailing list