================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to