================
@@ -1393,7 +1414,7 @@ def CIR_CleanupKindAttr : CIR_EnumAttr<CIR_CleanupKind, 
"cleanup_kind"> {
   }];
 }
 
-def CIR_CleanupScopeOp : CIR_RegionBranchOpBase<"cleanup.scope", [
+def CIR_CleanupScopeOp : CIR_EnterAnyRegionBranchOpBase<"cleanup.scope", [
----------------
xlauko wrote:

True, I took `cir.cleanup.scope` out of this PR. 
[llvm/llvm-project#221222](https://github.com/llvm/llvm-project/pull/221222) 
fixes its successors so the op enters only the body, and a body exit enters the 
cleanup region when the cleanup kind covers that exit.

https://github.com/llvm/llvm-project/pull/220512
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to