hanchenye-llvm-project/clang/test/CodeGenCoroutines
Gor Nishanov 2a78fa5209 [coroutines] Add __builtin_coro_noop => llvm.coro.noop
A recent addition to Coroutines TS (https://wg21.link/p0913) adds a pre-defined
coroutine noop_coroutine that does nothing. To implement this feature, we implemented
an llvm.coro.noop intrinsic that returns a coroutine handle to a coroutine that
does nothing when resumed or destroyed.

This patch adds a builtin __builtin_coro_noop() that maps to llvm.coro.noop intrinsic.

Related llvm change: https://reviews.llvm.org/D45114

llvm-svn: 328993
2018-04-02 17:35:37 +00:00
..
Inputs
coro-alloc.cpp [Coroutines] Find custom allocators in class scope 2018-04-01 22:59:22 +00:00
coro-await-domination.cpp
coro-await.cpp
coro-builtins-err.c
coro-builtins.c [coroutines] Add __builtin_coro_noop => llvm.coro.noop 2018-04-02 17:35:37 +00:00
coro-cleanup.cpp
coro-dest-slot.cpp
coro-eh-cleanup.cpp [MS] Don't escape MS C++ names with \01 2018-03-16 20:36:49 +00:00
coro-gro-nrvo.cpp [Coroutines] Use allocator overload when available 2018-02-15 20:37:22 +00:00
coro-gro.cpp
coro-lambda.cpp
coro-params.cpp [Coroutines] Use allocator overload when available 2018-02-15 20:37:22 +00:00
coro-promise-dtor.cpp [MS] Don't escape MS C++ names with \01 2018-03-16 20:36:49 +00:00
coro-ret-void.cpp
coro-return.cpp
coro-unhandled-exception.cpp [MS] Don't escape MS C++ names with \01 2018-03-16 20:36:49 +00:00
microsoft-abi-operator-coawait.cpp [MS] Don't escape MS C++ names with \01 2018-03-16 20:36:49 +00:00