[clang] [Coroutines][Test] Only run coro-elide-thinlto under x86_64-linux (PR #90672)
Wei Wang via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 14:54:19 PDT 2024
https://github.com/apolloww created https://github.com/llvm/llvm-project/pull/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.
>From 66d63598d0c29cc7232715d0abfcfcc640dc97c8 Mon Sep 17 00:00:00 2001
From: Wei Wang <apollo.mobility at gmail.com>
Date: Tue, 30 Apr 2024 14:50:36 -0700
Subject: [PATCH] fix build failure
---
clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp | 1 +
1 file changed, 1 insertion(+)
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