Go to file
Gor Nishanov e29e94cf87 [coroutines] Add support for symmetric control transfer (musttail on coro.resumes followed by a suspend)
Summary:
Add musttail to any resume instructions that is immediately followed by a
suspend (i.e. ret). We do this even in -O0 to support guaranteed tail call
for symmetrical coroutine control transfer (C++ Coroutines TS extension).
This transformation is done only in the resume part of the coroutine that has
identical signature and calling convention as the coro.resume call.

Reviewers: GorNishanov

Reviewed By: GorNishanov

Subscribers: EricWF, majnemer, llvm-commits

Differential Revision: https://reviews.llvm.org/D37125

llvm-svn: 311751
2017-08-25 02:25:10 +00:00
clang Fix up the -Wc++XX-compat warnings to properly handle C++2a. 2017-08-25 02:25:07 +00:00
clang-tools-extra [clang-tidy] Add missing IgnoreMacros doc for modernize-use-equals-default. 2017-08-24 13:45:18 +00:00
compiler-rt [cfi] only add cfi tests on supported arches. 2017-08-25 01:50:53 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc amdgcn: rewrite barrier() using fence and clang __builtin_amdgcn_s_barrier 2017-08-16 17:09:00 +00:00
libcxx [libcxx] [test] Update for C++17 feature removals. 2017-08-24 21:24:08 +00:00
libcxxabi Revert "[libcxxabi] When built with ASan, __cxa_throw calls __asan_handle_no_return" 2017-08-16 22:05:54 +00:00
libunwind ARM: explicitly specify the 8-byte alignment 2017-08-23 16:50:27 +00:00
lld [MACH-O] Fix the ASM code generated for __stub_helpers section 2017-08-24 23:51:40 +00:00
lldb Fixed a typo in the example (getName -> GetName) 2017-08-24 18:01:50 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [coroutines] Add support for symmetric control transfer (musttail on coro.resumes followed by a suspend) 2017-08-25 02:25:10 +00:00
openmp Use va_copy instead of __va_copy to fix building libomp against musl libc 2017-08-19 23:53:36 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-24 21:22:41 +00:00