[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #90310)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 18:32:13 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
----------------
llvm-beanz wrote:

This test case requires an X86 backend. Those of us who have embraced the AArch64-only future are encountering test errors when running this test.

(maybe it's just me)

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


More information about the cfe-commits mailing list