diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-02 16:55:12 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-02 16:55:12 +0000 |
commit | b0316d96ae563c8e6473952d3213e833961c81ff (patch) | |
tree | 7ff5838f27df91f410829e9b6eb4a277950db45b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 49d802862d5edf762928cb2ee159614f31eb2364 (diff) | |
download | llvm-b0316d96ae563c8e6473952d3213e833961c81ff.zip llvm-b0316d96ae563c8e6473952d3213e833961c81ff.tar.gz llvm-b0316d96ae563c8e6473952d3213e833961c81ff.tar.bz2 |
[coroutines] Add support for llvm.coro.noop intrinsics
Summary:
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.
Reviewers: EricWF, modocache, rnk, lewissbaker
Reviewed By: modocache
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D45114
llvm-svn: 328986
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions