[SR-11852] [AutoDiff] emitBuiltinAutoDiffApplyDerivativeFunction
should not worry about curry levels
#54258
Labels
emitBuiltinAutoDiffApplyDerivativeFunction
should not worry about curry levels
#54258
Additional Detail from JIRA
md5: ad9d57b4a2fa3e3dd693fa79e542be64
Issue Description:
The
emitBuiltinAutoDiffApplyDerivativeFunction
function in SILGenBuiltin.cpp needs to be cleaned up. It seems to have some dead code (added in December 2018) that unwraps curry levels. Curry-level unwrapping for@differentiable
functions was originally added as a workaround – it's no longer necessary.The text was updated successfully, but these errors were encountered: