Make RenamePass faster by making the 'is this a new phi node'
authorChris Lattner <sabre@nondot.org>
Tue, 5 Feb 2008 21:26:23 +0000 (21:26 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Feb 2008 21:26:23 +0000 (21:26 +0000)
commit2663ffe7512ccd50ca246d5c8d9ee7a87b33883c
tree0e5cd85d1fcb08be611f0c42b7c583ac64c42e72
parente672af15d6d7000fca2b39981b17403bdd5ec9ed
Make RenamePass faster by making the 'is this a new phi node'
check more intelligent.  This speeds up mem2reg from 5.29s to
0.79s on a synthetic testcase with tons of predecessors and
phi nodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/PromoteMemoryToRegister.cpp