Skip to content

Commit acb4146

Browse files
committed
add nocapture and memory(none) to the intrinsic
1 parent 225c37c commit acb4146

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/IR/Intrinsics.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,8 @@ def int_coro_alloca_alloc : Intrinsic<[llvm_token_ty],
17781778
[llvm_anyint_ty, llvm_i32_ty], []>;
17791779
def int_coro_alloca_get : Intrinsic<[llvm_ptr_ty], [llvm_token_ty], []>;
17801780
def int_coro_alloca_free : Intrinsic<[], [llvm_token_ty], []>;
1781-
def int_coro_outside_frame : Intrinsic<[], [llvm_ptr_ty], []>;
1781+
def int_coro_outside_frame : Intrinsic<[], [llvm_ptr_ty],
1782+
[IntrNoMem, NoCapture<ArgIndex<0>>]>;
17821783

17831784
// Coroutine Manipulation Intrinsics.
17841785

0 commit comments

Comments
 (0)