[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #90310)
Wei Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 19:59:07 PDT 2024
================
@@ -0,0 +1,77 @@
+// 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.
+//
+// RUN: split-file %s %t
+// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-callee.cpp -o coro-elide-callee.o
+// RUN: %clang --target=x86_64-linux -std=c++20 -O2 -flto=thin -I %S -c %t/coro-elide-caller.cpp -o coro-elide-caller.o
----------------
apolloww wrote:
Just landed #90672 to limit the test to x86 linux targets. Did that fix the test failure?
https://github.com/llvm/llvm-project/pull/90310
More information about the llvm-commits
mailing list