Eliminate this ugly hack. This was put back in when replaceAllUsesOf used
authorChris Lattner <sabre@nondot.org>
Thu, 9 Dec 2004 04:51:50 +0000 (04:51 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Dec 2004 04:51:50 +0000 (04:51 +0000)
commitc4d69165081237eb951509d74b1816601834a3e7
tree12aa0e8bebc45d6b44bb5c3312752233248b1823
parentc49741d047f7cf1143aa34a3a97379a8d1b5f0e5
Eliminate this ugly hack.  This was put back in when replaceAllUsesOf used
a different algorithm that was extremely inefficient for instructions with
many operands.

This reduces the time of this code snippet from .23s for 176.gcc to 0.03s
in a debug build, which speeds up total llvm-dis time just barely.

It's more of a code cleanup than a speedup.

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