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

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 09:23:21 PDT 2025


Author: Dominik Steenken
Date: 2025-06-30T18:23:18+02:00
New Revision: c79b68541be0a0d91a97af4ec8b36ea4bf49370e

URL: https://github.com/llvm/llvm-project/commit/c79b68541be0a0d91a97af4ec8b36ea4bf49370e
DIFF: https://github.com/llvm/llvm-project/commit/c79b68541be0a0d91a97af4ec8b36ea4bf49370e.diff

LOG: Restrict tests in Transforms/InstCombine/SystemZ to SystemZ (NFC) (#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.

Added: 
    llvm/test/Transforms/InstCombine/SystemZ/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
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