Skip to content

Conversation

kavon
Copy link
Member

@kavon kavon commented Sep 19, 2025

This does not enable it by default. Use either of the flags:

-enable-copy-propagation
-enable-copy-propagation=always

to enable it in -Onone. The previous frontend flag -enable-copy-propagation=true has been renamed to -enable-copy-propagation=optimizing, which is currently default.

rdar://107610971

@kavon
Copy link
Member Author

kavon commented Sep 19, 2025

@swift-ci smoke test

This does not enable it by default. Use either of the flags:

```
-enable-copy-propagation
-enable-copy-propagation=always
```

to enable it in -Onone. The previous frontend flag
`-enable-copy-propagation=true` has been renamed to
`-enable-copy-propagation=optimizing`, which is currently default.

rdar://107610971
@kavon
Copy link
Member Author

kavon commented Sep 19, 2025

@swift-ci smoke test

Copy link
Contributor

@nate-chandler nate-chandler left a comment

Choose a reason for hiding this comment

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

LGTM

@kavon
Copy link
Member Author

kavon commented Sep 20, 2025

failing in update-checkout

@swift-ci smoke test macos

@kavon kavon enabled auto-merge September 20, 2025 00:16
@kavon kavon merged commit 889baf7 into swiftlang:main Sep 20, 2025
3 checks passed
// call-sites, but PerformanceDiagnostics is sensitive to the # of copies.
// If ManualOwnership is used in the compiler itself, we wouldn't be able
// to bootstrap the compiler on different platforms with same diagnostics.
#ifdef SWIFT_ENABLE_SWIFT_IN_SWIFT
Copy link
Contributor

Choose a reason for hiding this comment

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

@kavon this ifdef is not needed

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.

3 participants