aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Wang <apollo.mobility@gmail.com>2024-04-30 18:08:40 -0700
committerGitHub <noreply@github.com>2024-04-30 18:08:40 -0700
commitb1b1bfa7bea0ce489b5ea9134e17a43c695df5ec (patch)
treedb73168bc5bfc396e2e9a1bf013eec933d2c83d2
parent986f832cff9cfdd9fa6addfadcd93206636311ef (diff)
downloadllvm-upstream-main.tar.gz
[Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (#90672)upstream-main
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.
-rw-r--r--clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp b/clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
index d0e60e67963d..5b2d01465784 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.
//