Index: llvm/include/llvm/IR/Intrinsics.td =================================================================== --- llvm/include/llvm/IR/Intrinsics.td +++ llvm/include/llvm/IR/Intrinsics.td @@ -1269,11 +1269,10 @@ // Coroutine Structure Intrinsics. -def int_coro_id : Intrinsic<[llvm_token_ty], [llvm_i32_ty, llvm_ptr_ty, - llvm_ptr_ty, llvm_ptr_ty], - [IntrArgMemOnly, IntrReadMem, - ReadNone>, ReadOnly>, - NoCapture>]>; +def int_coro_id : DefaultAttrsIntrinsic<[llvm_token_ty], + [llvm_i32_ty, llvm_ptr_ty, llvm_ptr_ty, llvm_ptr_ty], + [IntrArgMemOnly, IntrReadMem, ReadNone>, ReadOnly>, + NoCapture>]>; def int_coro_id_retcon : Intrinsic<[llvm_token_ty], [llvm_i32_ty, llvm_i32_ty, llvm_ptr_ty, llvm_ptr_ty, llvm_ptr_ty, llvm_ptr_ty], @@ -1341,10 +1340,10 @@ // Coroutine Lowering Intrinsics. Used internally by coroutine passes. -def int_coro_subfn_addr : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty, llvm_i8_ty], - [IntrReadMem, IntrArgMemOnly, - ReadOnly>, - NoCapture>]>; +def int_coro_subfn_addr : DefaultAttrsIntrinsic< + [llvm_ptr_ty], [llvm_ptr_ty, llvm_i8_ty], + [IntrReadMem, IntrArgMemOnly, ReadOnly>, + NoCapture>]>; ///===-------------------------- Other Intrinsics --------------------------===// //