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 63a604a316
commit fe3ddf06a8

View File

@ -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;
}
}