Reserve space in vectors before topologically sorting into them. This improves the...
authorOwen Anderson <resistor@mac.com>
Fri, 22 Jun 2007 00:43:22 +0000 (00:43 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 22 Jun 2007 00:43:22 +0000 (00:43 +0000)
commite8138ffeaf9722cbd370c970c6d735f3a6a0f884
tree9d51beb25fcd2f74c192e229171aa736234f2fa1
parent82575d8ab132d0a2c900952d64f8e54011bcb594
Reserve space in vectors before topologically sorting into them.  This improves the time to optimize 403.gcc from 28s to 23.5s.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37699 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp