Eliminate the old LateResolveValues data structure, replacing it with a
authorChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2003 06:05:40 +0000 (06:05 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2003 06:05:40 +0000 (06:05 +0000)
commit8eb10cef39c7ac99a8992e17f7a4941bfcbeef31
tree6277366a88316bda572fa83928574b61a672beaa
parent13eb87162aea5e19ddfddebb16a3bdf074e48dbd
Eliminate the old LateResolveValues data structure, replacing it with a
new, simpler, ForwardReferences data structure.  This is just the first
simple replacement, subsequent changes will improve the code more.

This simple change improves the performance of loading a file from HDF5
(contributed by Bill) from 2.36s to 1.93s, a 22% improvement.  This
presumably has to do with the fact that we only create ONE placeholder for
a particular forward referenced values, and also may be because the data
structure is much simpler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8979 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
lib/Bytecode/Reader/ReaderInternals.h