Skip to content
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

Don't look through ownership instructions during CSE #78558

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meg-gupta
Copy link
Contributor

OSSA rauw creates copies in a lot of cases. Several of these copies cannot be eliminated due to escapes, unimplemeneted optimization edge cases etc.

This can be an issue for performance parity with non-ossa

Disable looking through ownership instructions to avoid copies created by OSSA rauw.

This can be revisited if we rewrite OSSA rauw to not create copies.

This has no -ve effect on microbenchmarks with -enable-ossa-modules on by default.

rdar://139773406

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci apple silicon benchmark

OSSA rauw creates copies in a lot of cases. Several of these copies
cannot be eliminated due to escapes, unimplemeneted optimization edge cases etc.

This can be an issue for performance parity with non-ossa

Disable looking through ownership instructions to avoid copies created
by OSSA rauw.

This can be revisited if we rewrite OSSA rauw to not create copies.

This has no effect on microbenchmarks with -enable-ossa-modules
on by default.

rdar://139773406
@meg-gupta meg-gupta force-pushed the cseavoidlookthrough branch from f9398c2 to 1c153ce Compare January 22, 2025 21:23
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