Skip to content

Conversation

@kovdan01
Copy link
Contributor

In #84704, some tests were XFAIL'ed since they've become failing. The root cause of failures is lack of ownership info on the 2nd run of AutoDiff closure specialization pass. Ownership info is required for the pass run after #84704, so at the moment only the 1st run of the pass is effective.

Several test cases still remain passing because for some cases we are lucky and all the inlining required for specialization is done before the 1st pass run. This patch enables such test cases back so we have at least some test coverage.

In swiftlang#84704, some tests were XFAIL'ed since they've become failing.
The root cause of failures is lack of ownership info on the 2nd run
of AutoDiff closure specialization pass. Ownership info is required for
the pass run after swiftlang#84704, so at the moment only the 1st run of the pass
is effective.

Several test cases still remain passing because for some cases we are
lucky and all the inlining required for specialization is done before
the 1st pass run. This patch enables such test cases back so we have
at least some test coverage.
@kovdan01 kovdan01 requested a review from eeckstein October 15, 2025 17:28
@kovdan01 kovdan01 marked this pull request as ready for review October 15, 2025 17:28
@kovdan01 kovdan01 requested a review from asl as a code owner October 15, 2025 17:28
@kovdan01
Copy link
Contributor Author

Tagging @JaapWijnen

@kovdan01
Copy link
Contributor Author

@swift-ci please smoke test

@kovdan01
Copy link
Contributor Author

@swift-ci please smoke test

@kovdan01 kovdan01 merged commit 90ad689 into swiftlang:main Oct 16, 2025
3 checks passed
dendiz pushed a commit to dendiz/swift that referenced this pull request Oct 21, 2025
In swiftlang#84704, some tests were XFAIL'ed since they've become failing. The
root cause of failures is lack of ownership info on the 2nd run of
AutoDiff closure specialization pass. Ownership info is required for the
pass run after swiftlang#84704, so at the moment only the 1st run of the pass is
effective.

Several test cases still remain passing because for some cases we are
lucky and all the inlining required for specialization is done before
the 1st pass run. This patch enables such test cases back so we have at
least some test coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants