Skip to content

[AutoDiff] NFC: Change DifferentiableFunctionExtractee to a top-level type. #27688

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 1 commit into from
Oct 15, 2019

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Oct 15, 2019

Many places in the compiler that are completely unrelated to DifferentiableFunctionExtractInst are using DifferentiableFunctionExtractInst::Extractee, including @differentiable type lowering (IRGen/GenDiffFunc.cpp). This patch refactors it and renames it to NormalDifferentiableFunctionTypeComponent so that it is no longer part of DifferentiableFunctionInst.

Resolves TF-904.

@rxwei rxwei added the tensorflow This is for "tensorflow" branch PRs. label Oct 15, 2019
@rxwei rxwei requested a review from dan-zheng October 15, 2019 07:54
…el type.

Many places in the compiler that are completely unrelated to {{DifferentiableFunctionExtractInst}} are using {{DifferentiableFunctionExtractInst::Extractee}}, including `@differentiable` type lowering (IRGen/GenDiffFunc.cpp). This patch refactors it and renames it to `NormalDifferentiableFunctionTypeComponent` so that it is no longer part of `DifferentiableFunctionInst`.

Resolves [TF-904](https://bugs.swift.org/browse/TF-904).
@rxwei
Copy link
Contributor Author

rxwei commented Oct 15, 2019

@swift-ci please test tensorflow

@rxwei
Copy link
Contributor Author

rxwei commented Oct 15, 2019

@swift-ci please test tensorflow linux cpu

@rxwei
Copy link
Contributor Author

rxwei commented Oct 15, 2019

@swift-ci please test tensorflow cpu

@rxwei rxwei merged commit 1e4552c into swiftlang:tensorflow Oct 15, 2019
@rxwei rxwei deleted the TF-904 branch October 15, 2019 08:44
rxwei added a commit to rxwei/swift that referenced this pull request Oct 15, 2019
A build failure was introduced in swiftlang#27688, but CI didn't catch it somehow. This patch fixes it.
rxwei added a commit that referenced this pull request Oct 15, 2019
A build failure was introduced in #27688, but CI didn't catch it somehow. This patch fixes it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants