[clang] b1b1bfa - [Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (#90672)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 18:08:44 PDT 2024
Author: Wei Wang
Date: 2024-04-30T18:08:40-07:00
New Revision: b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec
URL: https://github.com/llvm/llvm-project/commit/b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec
DIFF: https://github.com/llvm/llvm-project/commit/b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec.diff
LOG: [Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (#90672)
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.
Added:
Modified:
clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
Removed:
################################################################################
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.
//
More information about the cfe-commits
mailing list