diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-07 21:01:08 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-07 21:01:08 +0000 |
commit | 6470a8535fc6ea56127ce096060253f64aeca335 (patch) | |
tree | feaa3fb397c5055e07bf2a91e315e10f497f112e /test/CodeGenCoroutines | |
parent | ee2f6d93d8217772d394c483a07999cdeb5c04ba (diff) |
[coroutines] update coro_end builtin to match llvm
Summary: llvm.coro.end intrinsic now returns bool. Updating clang to match it.
Reviewers: GorNishanov, rsmith
Reviewed By: rsmith
Subscribers: mehdi_amini, cfe-commits, EricWF
Differential Revision: https://reviews.llvm.org/D30711
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCoroutines')
-rw-r--r-- | test/CodeGenCoroutines/coro-builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCoroutines/coro-builtins.c b/test/CodeGenCoroutines/coro-builtins.c index 5c3e6c3a6b..d18d5e730f 100644 --- a/test/CodeGenCoroutines/coro-builtins.c +++ b/test/CodeGenCoroutines/coro-builtins.c @@ -43,7 +43,7 @@ void f(int n) { __builtin_coro_free(__builtin_coro_frame()); // CHECK-NEXT: %[[FRAME6:.+]] = call i8* @llvm.coro.frame() - // CHECK-NEXT: call void @llvm.coro.end(i8* %[[FRAME6]], i1 false) + // CHECK-NEXT: call i1 @llvm.coro.end(i8* %[[FRAME6]], i1 false) __builtin_coro_end(__builtin_coro_frame(), 0); // CHECK-NEXT: call i8 @llvm.coro.suspend(token none, i1 true) |