Skip to content

[AutoDiff] Minor SILOptimizer changes. #30873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 8, 2020

Conversation

dan-zheng
Copy link
Contributor

NFC: silence unused variable warnings.


Fix LinearMapInfo result indices calculation: result indices capacity should equal original function "semantic result" count (formal results and inout parameters), not just the formal result count.

Fixes inout parameter differentiation.

Result indices capacity should equal original function "semantic result" count
(formal results and `inout` parameters), not just the formal result count.

Fixes `inout` parameter differentiation.
@dan-zheng dan-zheng requested review from rxwei and marcrasi April 8, 2020 07:35
@dan-zheng
Copy link
Contributor Author

@swift-ci Please smoke test

@dan-zheng dan-zheng merged commit 1c64770 into swiftlang:master Apr 8, 2020
@dan-zheng dan-zheng deleted the autodiff-sil branch April 8, 2020 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants