[PATCH] D149995: [test] [MCJIT] Don't overwrite config.unsupported to False

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 13:38:41 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGca18b4a0c132: [test] [MCJIT] Don't overwrite config.unsupported to False (authored by mstorsjo).

Changed prior to commit:
  https://reviews.llvm.org/D149995?vs=519974&id=545261#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149995/new/

https://reviews.llvm.org/D149995

Files:
  llvm/test/ExecutionEngine/MCJIT/lit.local.cfg


Index: llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
===================================================================
--- llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
+++ llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
@@ -1,6 +1,6 @@
 root = config.root
 targets = root.targets
-if (
+if not (
     ("X86" in targets)
     | ("AArch64" in targets)
     | ("ARM" in targets)
@@ -8,8 +8,6 @@
     | ("PowerPC" in targets)
     | ("SystemZ" in targets)
 ):
-    config.unsupported = False
-else:
     config.unsupported = True
 
 # FIXME: autoconf and cmake produce different arch names. We should normalize
@@ -21,6 +19,7 @@
     "AMD64",
     "AArch64",
     "ARM",
+    "armv7",
     "Mips",
     "PowerPC",
     "ppc64",
@@ -29,9 +28,6 @@
 ]:
     config.unsupported = True
 
-if "armv7" in root.host_arch:
-    config.unsupported = False
-
 if "i386-apple-darwin" in root.target_triple:
     config.unsupported = True
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149995.545261.patch
Type: text/x-patch
Size: 925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230728/e7003c80/attachment.bin>


More information about the llvm-commits mailing list