[llvm] Restrict tests in Transforms/InstCombine/SystemZ to SystemZ (NFC) (PR #146363)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 07:57:54 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-systemz
Author: Dominik Steenken (dominik-steenken)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/146363.diff
1 Files Affected:
- (added) llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg (+2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/146363
More information about the llvm-commits
mailing list