[llvm] Restrict tests in Transforms/InstCombine/SystemZ to SystemZ (NFC) (PR #146363)

Dominik Steenken via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 07:57:22 PDT 2025


https://github.com/dominik-steenken created https://github.com/llvm/llvm-project/pull/146363

This commit adds a `lit.local.cfg` file to `llvm/test/Transforms/InstCombine/SystemZ` that makes sure the tests contained in that folder are only run when `SystemZ` is among the supported targets.

>From 343c54a93d1dbab16f7b850b0e890a359a81d810 Mon Sep 17 00:00:00 2001
From: Dominik Steenken <dost at de.ibm.com>
Date: Mon, 30 Jun 2025 16:53:02 +0200
Subject: [PATCH] [SystemZ] lit config for Transforms/InstCombine/SystemZ (NFC)

This commit adds a `lit.local.cfg` file to
`llvm/test/Transforms/InstCombine/SystemZ` that makes sure the tests contained
in that folder are only run when `SystemZ` is among the supported targets.
---
 llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg

diff --git a/llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg b/llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg
new file mode 100644
index 0000000000000..f9dd98a21cc3e
--- /dev/null
+++ b/llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg
@@ -0,0 +1,2 @@
+if not "SystemZ" in config.root.targets:
+    config.unsupported = True



More information about the llvm-commits mailing list