[clang] [SystemZ] Do not run mbackchain-4.c test without SystemZ target (PR #71678)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 06:19:46 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Ilya Leoshkevich (iii-i)

<details>
<summary>Changes</summary>

mbackchain-4.c requires running the backend and causes CI failures when this target is not configured.

---
Full diff: https://github.com/llvm/llvm-project/pull/71678.diff


1 Files Affected:

- (modified) clang/test/CodeGen/SystemZ/mbackchain-4.c (+1) 


``````````diff
diff --git a/clang/test/CodeGen/SystemZ/mbackchain-4.c b/clang/test/CodeGen/SystemZ/mbackchain-4.c
index 6e5f4fc5da40084..43f25137fffa51c 100644
--- a/clang/test/CodeGen/SystemZ/mbackchain-4.c
+++ b/clang/test/CodeGen/SystemZ/mbackchain-4.c
@@ -1,3 +1,4 @@
+// REQUIRES: systemz-registered-target
 // RUN: %clang --target=s390x-linux -O1 -S -o - %s | FileCheck %s
 
 __attribute__((target("backchain")))

``````````

</details>


https://github.com/llvm/llvm-project/pull/71678


More information about the cfe-commits mailing list