You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@callee_guaranteed` closure convention is not suitable for AD pullback closures because, combined with its `@owned` parameter convention for the closure context argument, it will always incur an extra retain. In most use cases pullbacks are called exactly once, and the context argument will be consumed directly by the entry basic block. We should change linear maps’ callee convention to `@owned`.
I had a WIP PR earlier if anyone wants to build on that. #34935
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: f2ec62a16d936b30b8ec66f9e7134d64
Parent-Task:
Issue Description:
`@callee_guaranteed` closure convention is not suitable for AD pullback closures because, combined with its `@owned` parameter convention for the closure context argument, it will always incur an extra retain. In most use cases pullbacks are called exactly once, and the context argument will be consumed directly by the entry basic block. We should change linear maps’ callee convention to `@owned`.
I had a WIP PR earlier if anyone wants to build on that. #34935
The text was updated successfully, but these errors were encountered: