[SR-9653] [AD] DiagnoseStaticExclusivity needs special cases for AD instructions #52097
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift for tensorflow
Additional Detail from JIRA
md5: 4a8078b4abcae3315ea4a5f173126471
Issue Description:
This snippet:
gives the following error:
This is because
checkNoEscapePartialApplyUse
is unable to check thatautodiff_function
is using its partially-applied closure argument with an@noescape
attribute. I believe we also need to add support there forautodiff_function_extract
.The text was updated successfully, but these errors were encountered: