ahatanak added a comment.

In D92808#2443006 <https://reviews.llvm.org/D92808#2443006>, @compnerd wrote:

> There is nothing particularly special about that.  The reason for the funclet 
> handling there is that in the case of an outlined block for exception 
> handling (i.e. a funclet), we need to ensure that the assembly marker 
> received the funclet token as failure to do so would mark the assembly as 
> unreachable and would thus thwart the auto-release claim.  For the normal 
> codepath, the behaviour should be identical.

ARC contract pass removes attribute retainRV/claimRV (but not attribute 
rv_marker) from a call and inserts a retainRV/claimRV call after the call in 
the IR. In that case, the inserted retainRV/claimRV should get the funclet 
token. Is that right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92808/new/

https://reviews.llvm.org/D92808

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to