Skip to content

Conversation

@kavon
Copy link
Member

@kavon kavon commented Nov 20, 2025

This makes at least several of the tests for distributed actors work under -enable-sil-opaque-values.

This function will give the wrong convention in SILGen when
using -enable-sil-opaque-values. In particular, it will say
arguments are indirect when they are not.
This code was not consulting SILFunctionConventions, so it was
passing things indirect when they are not in sil-opaque-values.

This fixes callers as well to ensure they pass arguments and
results correctly in both modes.
The issue in rdar://92952551 appears to have been resolved.
@kavon kavon force-pushed the opaque-values/fixes-5 branch from b7c5a60 to 10d8053 Compare November 20, 2025 01:35
@kavon
Copy link
Member Author

kavon commented Nov 20, 2025

@swift-ci test

@kavon kavon enabled auto-merge November 20, 2025 01:39
@kavon
Copy link
Member Author

kavon commented Nov 20, 2025

@swift-ci test

@kavon kavon merged commit 7d4f45b into swiftlang:main Nov 20, 2025
5 checks passed
@kavon kavon deleted the opaque-values/fixes-5 branch November 20, 2025 17:46
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.

1 participant