Merge pull request #59711 from ktoso/wip-generic-distributed-call-clean

[1/3][Distributed] Make distributed thunks the witnesses, fix calls on generic DAs
This commit is contained in:
Doug Gregor
2022-06-27 09:50:26 -07:00
committed by GitHub
16 changed files with 365 additions and 30 deletions

View File

@@ -414,8 +414,7 @@ struct SILDeclRef {
defaultArgIndex,
pointer.get<AutoDiffDerivativeFunctionIdentifier *>());
}
/// Returns the distributed entry point corresponding to the same
/// decl.
/// Returns the distributed entry point corresponding to the same decl.
SILDeclRef asDistributed(bool distributed = true) const {
return SILDeclRef(loc.getOpaqueValue(), kind,
/*foreign=*/false,