================
@@ -558,12 +558,12 @@ emitSuspendExpression(CIRGenFunction &cgf, CGCoroData
&coro,
if (!awaitRes.rv.isIgnored()) {
// Create the alloca in the block before the scope wrapping
// cir.await.
+ mlir::Value value = awaitRes.rv.getAnyValue();
----------------
andykaylor wrote:
If `awaitRes` is an aggregate, this will be UB.
https://github.com/llvm/llvm-project/pull/194027
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits