-
Notifications
You must be signed in to change notification settings - Fork 10.5k
LoadableByAddress: Add better tuples support #14637
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
Conversation
@swift-ci Please test and merge |
lib/IRGen/LoadableByAddress.cpp
Outdated
auto *instToInsert = dyn_cast<UncheckedEnumDataInst>(userIns); | ||
if (std::find(pass.uncheckedEnumDataInstsToMod.begin(), | ||
pass.uncheckedEnumDataInstsToMod.end(), | ||
instToInsert) == pass.uncheckedEnumDataInstsToMod.end()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hint for the future: llvm::is_contained
fcea46a
to
2dc5ce1
Compare
@swift-ci Please test and merge |
ca1dd61
to
c7def78
Compare
@swift-ci Please test and merge |
1 similar comment
@swift-ci Please test and merge |
@swift-ci Please test linux |
1 similar comment
@swift-ci Please test linux |
Build failed |
@swift-ci Please test linux |
Build failed |
When working with tuples, if the tuple does not contain a large loadable type but does contain a function signature, we currently do nothing. We should convert the function signature inside the tuple type instead.
@swift-ci Please test and merge |
rdar://problem/37533053
When working with tuples, if the tuple does not contain a large loadable type but does contain a function signature, we currently do nothing.
We should convert the function signature inside the tuple type instead.