Skip to content

Conversation

asl
Copy link
Contributor

@asl asl commented Sep 18, 2025

Fixes #84365

@asl asl requested a review from kovdan01 September 18, 2025 01:47
@asl asl requested a review from eeckstein as a code owner September 18, 2025 01:47
@asl
Copy link
Contributor Author

asl commented Sep 18, 2025

Apparently, the original code contained a typo (and some kind of kludge for inouts) that made it work for the majority of "simple" cases (e.g. single result passed direct or indirect, or inout), but it failed miserably when we had 3 proper results (as in the testcase).

@asl
Copy link
Contributor Author

asl commented Sep 18, 2025

@swift-ci Please test

@asl
Copy link
Contributor Author

asl commented Sep 18, 2025

Tagging @JaapWijnen

Copy link
Contributor

@kovdan01 kovdan01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@asl
Copy link
Contributor Author

asl commented Sep 18, 2025

@swift-ci please test linux

@asl asl enabled auto-merge (squash) September 18, 2025 15:29
@asl
Copy link
Contributor Author

asl commented Sep 19, 2025

@swift-ci please test linux

@asl asl merged commit e6409d7 into main Sep 19, 2025
5 checks passed
@asl asl deleted the 84365-fix branch September 19, 2025 20:54
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.

[AutoDiff] Invalid subset parameter / result thunk is generated for the differential
2 participants