[clang] [Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (PR #90672)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 14:54:52 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-coroutines

Author: Wei Wang (apolloww)

<details>
<summary>Changes</summary>

Previous fix #<!-- -->90549 didn't completely address the Buildbot failures. Some target may not recognize the target triple. This time, only run the test under x86_64-linux.

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


1 Files Affected:

- (modified) clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp (+1) 


``````````diff
diff --git a/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp b/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
index d0e60e67963dfd..5b2d0146578437 100644
--- a/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
+++ b/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
@@ -1,3 +1,4 @@
+// REQUIRES: x86_64-linux
 // This tests that the coroutine elide optimization could happen succesfully with ThinLTO.
 // This test is adapted from coro-elide.cpp and splits functions into two files.
 //

``````````

</details>


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


More information about the cfe-commits mailing list