================
@@ -768,6 +781,76 @@ struct GetReturnObjectManager {
CGF.EmitAutoVarInit(GroEmission);
Builder.CreateStore(Builder.getTrue(), GroActiveFlag);
}
+ // The GRO returns either when it is first suspended or when it completes
+ // without ever being suspended. The EmitGroConv function evaluates these
+ // conditions and executes the conversion if true.
----------------
ChuanqiXu9 wrote:
nit: perform the conversion if needed
https://github.com/llvm/llvm-project/pull/151067
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits