================
@@ -5036,14 +5036,17 @@ class CoroutineSuspendExpr : public Expr {
 
   Stmt *SubExprs[SubExpr::Count];
   OpaqueValueExpr *OpaqueValue = nullptr;
+  OpaqueValueExpr *OpaqueFramePtr = nullptr;
----------------
ChuanqiXu9 wrote:

I still think we can get rid of storing `OpaqueFramePtr` in 
`CoroutineSuspendExpr`. For example, we can call ` @llvm.coro.frame()` directly 
to get it. 

https://llvm.org/docs/Coroutines.html#llvm-coro-frame-intrinsic

https://github.com/llvm/llvm-project/pull/79712
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to