[SR-9458] [AD] Crash when emitting @autodiff function arguments in IRGen #51921
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
swift for tensorflow
Additional Detail from JIRA
md5: 22c63d2ecbde7ad51f0f1543388aa7ee
Issue Description:
A strong_retain on an @autodiff function causes IRGenSILFunction::visitStrongRetainInst to crash because it expects the argument type info to be `ReferenceTypeInfo`.
test.swift:
The text was updated successfully, but these errors were encountered: