OSDN Git Service

If we're only adding one new element to 'Cache', insert it into its known
authorChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 06:58:04 +0000 (06:58 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Dec 2008 06:58:04 +0000 (06:58 +0000)
commit1aeadacdadc8c44821300fea01445a2fb39e0420
tree443233be564359f4b83865df7773feca95b4ba32
parent511b36c00f3fbe80770e0bbbfe8ed2f266148d65
If we're only adding one new element to 'Cache', insert it into its known
position instead of using a full sort. This speeds up GVN by ~4% with the
new memdep stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60746 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp