================
@@ -950,15 +1035,20 @@ void CodeGenFunction::EmitCoroutineBody(const 
CoroutineBodyStmt &S) {
       // We don't need FinalBB. Emit it to make sure the block is deleted.
       EmitBlock(FinalBB, /*IsFinished=*/true);
     }
+
+    // GRO conversion is unnecessary when get_return_object's type matches the
----------------
ChuanqiXu9 wrote:

nit: we need conversion if get_return_object's type doesn't matches the 
coroutine return type.

https://github.com/llvm/llvm-project/pull/151067
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to