1 ; Make sure that all library helper coro intrinsics are lowered.
2 ; RUN: opt < %s -O0 -enable-coroutines -S | FileCheck %s
4 ; CHECK-LABEL: @uses_library_support_coro_intrinsics(
5 ; CHECK-NOT: @llvm.coro
7 define void @uses_library_support_coro_intrinsics(i8* %hdl) {
9 call void @llvm.coro.resume(i8* %hdl)
10 call void @llvm.coro.destroy(i8* %hdl)
11 call i1 @llvm.coro.done(i8* %hdl)
15 declare void @llvm.coro.resume(i8*)
16 declare void @llvm.coro.destroy(i8*)
17 declare i1 @llvm.coro.done(i8*)