-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.3] Add default IR attributes to helper functions #33389
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
[5.3] Add default IR attributes to helper functions #33389
Conversation
@swift-ci Please test. |
Build failed |
b72bf83
to
79de37e
Compare
@swift-ci Please test. |
Build failed |
Build failed |
several more places to use getOrCreateHelperFunction. This means that several of these places are now emitting shared functions rather than private ones, which I've verified is okay. There are some other places where privacy is still unfortunately necessary. I've also fixed the name of the store-extra-inhabitants helper function to say "store" instead of "get", which is longstanding (but harmless because it's private). Fixes rdar://66707994.
79de37e
to
8128aba
Compare
@swift-ci Please test. |
@swift-ci Please test windows. |
Build failed |
Build failed |
Add default IR attributes to helper functions and convert several more places to use
getOrCreateHelperFunction
.This means that several of these places are now emitting shared functions rather than private ones, which I've verified is okay. There are some other places where privacy is still unfortunately necessary.
I've also fixed the name of the store-extra-inhabitants helper function to say "store" instead of "get", which is longstanding (but harmless because it's private).
Fixes rdar://66707994.
This is the 5.3 equivalent to #33379. It's just a direct cherry-pick, not an attempt to minimize.