================
@@ -1106,7 +1108,9 @@ class CIRCleanupScopeOpFlattening
// the nested cleanup.
if (!ignoreBreak && isa<cir::BreakOp>(op)) {
exits.emplace_back(op, nextId++);
- } else if (isa<cir::ContinueOp>(op) || isReturnThatExitsCleanup(op)) {
+ } else if (isa<cir::ContinueOp, cir::CoReturnOp, cir::CoroCleanupOp>(
----------------
andykaylor wrote:
And one more time.
https://github.com/llvm/llvm-project/pull/203802
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits