forked from OSchip/llvm-project
Apply a patch from Nathan Keynes, which speeds up llvm-link on
the testcases in PR1860 from taking more than 1 hour (when I killed it) to taking 1s. llvm-svn: 52347
This commit is contained in:
parent
951bc67096
commit
8cb74995cc
|
@ -156,7 +156,6 @@ static bool RecursiveResolveTypesI(const PATypeHolder &DestTy,
|
|||
RecursiveResolveTypesI(cast<PointerType>(DestTy.get())->getElementType(),
|
||||
cast<PointerType>(SrcTy.get())->getElementType(),
|
||||
Pointers);
|
||||
Pointers.pop_back();
|
||||
return Result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue