Skip to content

Conversation

@eeckstein
Copy link
Contributor

@eeckstein eeckstein commented Jun 6, 2025

It used to also set it for functions which are referenced from a global with a const/section attribute - even if not performance attribute was present in the whole module. This is unnecessary and can lead to worse code generation.

This is a complementary fix for #82034

rdar://152665294

…lag for callees of performance constraint functions

It used to also set it for functions which are referenced from a global with a const/section attribute - even if not performance attribute was present in the whole module. This is unnecessary and can lead to worse code generation.

rdar://152665294
@eeckstein eeckstein requested review from slavapestov and xedin and removed request for AnthonyLatsis and rjmccall June 6, 2025 18:17
@eeckstein
Copy link
Contributor Author

@swift-ci test

@eeckstein
Copy link
Contributor Author

@swift-ci test macos

1 similar comment
@eeckstein
Copy link
Contributor Author

@swift-ci test macos

@eeckstein eeckstein merged commit e79c939 into swiftlang:main Jun 9, 2025
5 checks passed
@eeckstein eeckstein deleted the fix-mpo2 branch June 9, 2025 06:17
Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

LGTM!

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