[clang] [llvm] [coroutine] Implement llvm.coro.await.suspend intrinsic (PR #79712)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 19:42:35 PST 2024


================
@@ -338,6 +386,85 @@ static QualType getCoroutineSuspendExprReturnType(const ASTContext &Ctx,
 }
 #endif
 
+llvm::Function *CodeGenFunction::generateAwaitSuspendHelper(
----------------
ChuanqiXu9 wrote:

For such function definitions, generally we need a comment about its reasoning and behavior. This is not for me but other developers.

https://github.com/llvm/llvm-project/pull/79712


More information about the llvm-commits mailing list