Fix an N^2 issue handling constant resolution due to RAUW in large arrays
authorChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2008 00:11:50 +0000 (00:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 21 Aug 2008 00:11:50 +0000 (00:11 +0000)
commitf4a97da4072a2ee4aca3c668a9fa113c06fdef8d
treed2c60539c89de6c07497522a89283672b92c8668
parentfd903944de8ddcbe88902fa1eca9366eb9641201
Fix an N^2 issue handling constant resolution due to RAUW in large arrays
this speeds up the bcreader from 6.67s to 0.12s on a testcase Daniel
provided.  rdar://6158117

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