[clang] [CIR] Add token.none and fix coro.end signature (PR #214125)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 16:54:16 PDT 2026
================
@@ -504,10 +508,13 @@ CIRGenFunction::emitCoroutineBody(const CoroutineBodyStmt &s) {
}
}
}
+
cir::CoroEndOp::create(
- cgm.getBuilder(), openCurlyLoc,
- mlir::ValueRange{builder.getNullPtr(builder.getVoidPtrTy(), openCurlyLoc),
- builder.getBool(false, openCurlyLoc)});
+ builder, openCurlyLoc,
+ builder.getNullPtr(builder.getVoidPtrTy(), openCurlyLoc),
----------------
Andres-Salamanca wrote:
Thanks! Yes, that was exactly the issue. ❤️
https://github.com/llvm/llvm-project/pull/214125
More information about the cfe-commits
mailing list