Fix NASTY N^2 behavior that was causing the gzip benchmark to take forever to
authorChris Lattner <sabre@nondot.org>
Tue, 8 Oct 2002 23:46:55 +0000 (23:46 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Oct 2002 23:46:55 +0000 (23:46 +0000)
commitd1c657e2c7d1e0afb66ffce14775a88b5d52c593
treec09e8af458e2b9a04c91969cd7846852d5568b92
parentd43c7d2077743c1a88d48dacd0358080eabbaaac
Fix NASTY N^2 behavior that was causing the gzip benchmark to take forever to
assemble.  Now we scan the use-list from the back when removing users instead
of from the front.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4086 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Value.cpp