[clang] [CIR] Support aggregate co_await / co_yield in AggExprEmitter (PR #225412)

Aman Maurya via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 00:24:22 PDT 2026


================
@@ -744,6 +739,12 @@ static RValue emitSuspendExpr(CIRGenFunction &cgf,
   RValue rval;
   mlir::Location scopeLoc = cgf.getLoc(e.getSourceRange());
 
+  if (!ignoreResult && aggSlot.isIgnored() &&
----------------
amanmaurya92 wrote:

I have dropped this redundant check. Thanks for pointing it out.

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


More information about the cfe-commits mailing list