[llvm-commits] [llvm] r52347 - /llvm/trunk/lib/Linker/LinkModules.cpp

Chris Lattner sabre at nondot.org
Mon Jun 16 12:48:09 PDT 2008


Author: lattner
Date: Mon Jun 16 14:48:08 2008
New Revision: 52347

URL: http://llvm.org/viewvc/llvm-project?rev=52347&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Linker/LinkModules.cpp

Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=52347&r1=52346&r2=52347&view=diff

==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Mon Jun 16 14:48:08 2008
@@ -156,7 +156,6 @@
       RecursiveResolveTypesI(cast<PointerType>(DestTy.get())->getElementType(),
                              cast<PointerType>(SrcTy.get())->getElementType(),
                              Pointers);
-    Pointers.pop_back();
     return Result;
   }
   }





More information about the llvm-commits mailing list