Skip to content

Commit f7a2601

Browse files
authored
Merge pull request #30349 from gottesmm/pr-49bb268b53d240a211c7dec15015ad63c779a0bd
2 parents 59a9ee8 + 9c5af74 commit f7a2601

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/SILOptimizer/Utils/Generics.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -791,9 +791,9 @@ ReabstractionInfo::createSubstitutedType(SILFunction *OrigF,
791791
/// on the ReabstractionInfo.
792792
CanSILFunctionType ReabstractionInfo::
793793
createSpecializedType(CanSILFunctionType SubstFTy, SILModule &M) const {
794-
llvm::SmallVector<SILResultInfo, 8> SpecializedResults;
795-
llvm::SmallVector<SILYieldInfo, 8> SpecializedYields;
796-
llvm::SmallVector<SILParameterInfo, 8> SpecializedParams;
794+
SmallVector<SILResultInfo, 8> SpecializedResults;
795+
SmallVector<SILYieldInfo, 8> SpecializedYields;
796+
SmallVector<SILParameterInfo, 8> SpecializedParams;
797797

798798
unsigned IndirectResultIdx = 0;
799799
for (SILResultInfo RI : SubstFTy->getResults()) {
@@ -918,7 +918,7 @@ static bool hasNonSelfContainedRequirements(ArchetypeType *Archetype,
918918
// we should return true.
919919
auto First = Req.getFirstType()->getCanonicalType();
920920
auto Second = Req.getSecondType()->getCanonicalType();
921-
llvm::SmallSetVector<TypeBase *, 2> UsedGenericParams;
921+
SmallSetVector<TypeBase *, 2> UsedGenericParams;
922922
First.visit([&](Type Ty) {
923923
if (auto *GP = Ty->getAs<GenericTypeParamType>()) {
924924
UsedGenericParams.insert(GP);
@@ -969,7 +969,7 @@ static void collectRequirements(ArchetypeType *Archetype, GenericSignature Sig,
969969
// we should return true.
970970
auto First = Req.getFirstType()->getCanonicalType();
971971
auto Second = Req.getSecondType()->getCanonicalType();
972-
llvm::SmallSetVector<GenericTypeParamType *, 2> UsedGenericParams;
972+
SmallSetVector<GenericTypeParamType *, 2> UsedGenericParams;
973973
First.visit([&](Type Ty) {
974974
if (auto *GP = Ty->getAs<GenericTypeParamType>()) {
975975
UsedGenericParams.insert(GP);
@@ -2310,7 +2310,7 @@ static bool createPrespecializations(ApplySite Apply, SILFunction *ProxyFunc,
23102310
void swift::trySpecializeApplyOfGeneric(
23112311
SILOptFunctionBuilder &FuncBuilder,
23122312
ApplySite Apply, DeadInstructionSet &DeadApplies,
2313-
llvm::SmallVectorImpl<SILFunction *> &NewFunctions,
2313+
SmallVectorImpl<SILFunction *> &NewFunctions,
23142314
OptRemark::Emitter &ORE) {
23152315
assert(Apply.hasSubstitutions() && "Expected an apply with substitutions!");
23162316
auto *F = Apply.getFunction();

0 commit comments

Comments
 (0)