Skip to content

[6.1] Outliner: Do not outline if the BridgedArg value is not available at the BridgedCall #78616

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 4 commits into from
Jan 23, 2025

Conversation

meg-gupta
Copy link
Contributor

Explanation: While outlining, if the BridgedArg value's is not available at the BridgedCall, bailout instead of creating a copy.
Scope: Outliner on functions in OSSA
Issues: Fixes rdar://142633893
Original PRs: #78581
Risk: Low.
Testing: Smoke test.
Reviewers: @eeckstein

…the BridgedCall

Avoid outlining this scenario instead of creating a copy to make the value available
This copy may remain unoptimized, avoid outlining this case.
@meg-gupta meg-gupta requested a review from a team as a code owner January 13, 2025 20:12
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta enabled auto-merge January 13, 2025 20:23
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta merged commit 7a0a6e7 into swiftlang:release/6.1 Jan 23, 2025
5 checks passed
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