[llvm] [LLVM][Examples] Fix test requirements (PR #172140)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 13 01:25:53 PST 2025


https://github.com/aengelke created https://github.com/llvm/llvm-project/pull/172140

None

>From e8cd08b18c34641214eb29508afab5a94cd1219c Mon Sep 17 00:00:00 2001
From: Alexis Engelke <engelke at in.tum.de>
Date: Sat, 13 Dec 2025 09:25:38 +0000
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
 =?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.5-bogner
---
 llvm/test/Examples/IRTransforms/lit.local.cfg              | 2 ++
 llvm/test/Examples/Kaleidoscope/lit.local.cfg              | 3 +++
 llvm/test/Examples/OrcV2Examples/lit.local.cfg             | 3 +++
 llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test | 2 +-
 4 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 llvm/test/Examples/IRTransforms/lit.local.cfg
 create mode 100644 llvm/test/Examples/Kaleidoscope/lit.local.cfg
 create mode 100644 llvm/test/Examples/OrcV2Examples/lit.local.cfg

diff --git a/llvm/test/Examples/IRTransforms/lit.local.cfg b/llvm/test/Examples/IRTransforms/lit.local.cfg
new file mode 100644
index 0000000000000..9b5a0124e5f1f
--- /dev/null
+++ b/llvm/test/Examples/IRTransforms/lit.local.cfg
@@ -0,0 +1,2 @@
+if not config.has_plugins:
+    config.unsupported = True
diff --git a/llvm/test/Examples/Kaleidoscope/lit.local.cfg b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
new file mode 100644
index 0000000000000..550f0b64dae6c
--- /dev/null
+++ b/llvm/test/Examples/Kaleidoscope/lit.local.cfg
@@ -0,0 +1,3 @@
+# TODO: investigate
+if not "X86" in config.root.targets:
+    config.unsupported = True
diff --git a/llvm/test/Examples/OrcV2Examples/lit.local.cfg b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
new file mode 100644
index 0000000000000..550f0b64dae6c
--- /dev/null
+++ b/llvm/test/Examples/OrcV2Examples/lit.local.cfg
@@ -0,0 +1,3 @@
+# TODO: investigate
+if not "X86" in config.root.targets:
+    config.unsupported = True
diff --git a/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test b/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
index e34551c0c2c00..f937abafcb7cd 100644
--- a/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
+++ b/llvm/test/Examples/OrcV2Examples/orcv2-cbindings-lazy.test
@@ -1,7 +1,7 @@
 # RUN: OrcV2CBindingsLazy 2>&1 | FileCheck -check-prefix=THIS %s
 # RUN: OrcV2CBindingsLazy 0 2>&1 | FileCheck -check-prefix=OTHER %s
 
-# UNSUPPORTED: target=powerpc64{{.*}}
+# REQUIRES: target={{(x86|x86_64|aarch64|mips(64)?(el)?|loongarch64|riscv64)-.*}}
 
 # THIS: entry(1) = 1
 # OTHER: entry(2) = 2



More information about the llvm-commits mailing list