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:
Chris Lattner 2008-06-16 19:48:08 +00:00
parent 951bc67096
commit 8cb74995cc
1 changed files with 0 additions and 1 deletions

View File

@ -156,7 +156,6 @@ static bool RecursiveResolveTypesI(const PATypeHolder &DestTy,
RecursiveResolveTypesI(cast<PointerType>(DestTy.get())->getElementType(), RecursiveResolveTypesI(cast<PointerType>(DestTy.get())->getElementType(),
cast<PointerType>(SrcTy.get())->getElementType(), cast<PointerType>(SrcTy.get())->getElementType(),
Pointers); Pointers);
Pointers.pop_back();
return Result; return Result;
} }
} }