[clang] [CIR] Implement CoawaitExpr for ComplexType (PR #194027)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Thu May 7 10:58:31 PDT 2026


================
@@ -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();
----------------
AmrDeveloper wrote:

That makes sense. I removed anyValue and added NYI for the aggregate value

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


More information about the cfe-commits mailing list