swift
0ceaa589 - [AutoDiff] Fix forward-mode crashes related to tangent buffers (#33633)

Commit
5 years ago
[AutoDiff] Fix forward-mode crashes related to tangent buffers (#33633) Fixes foward-mode crashed related to: - Missing tangent buffers for non-wrt `inout` parameters. - Tangent buffers not being initialized due to the corresponding original buffer intialization instructions being non-active. - Non-varied indirect results not being initialized. - `emitDestroyValue` crashes due to `TangentVector` value category mismatch. Resolves TF-984 and SR-13447. Co-authored-by: Dan Zheng <danielzheng@google.com>
Author
Parents
Loading