With the last change, we no longer need both directions of mapping from
authorChris Lattner <sabre@nondot.org>
Mon, 5 Feb 2007 23:37:20 +0000 (23:37 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Feb 2007 23:37:20 +0000 (23:37 +0000)
commitd3874049a55fe1af515c4f0d8f5a4040803567cb
treeb39f063ad6cb99f1c067b0b65139dcd2c0a8f024
parent9133fe28954d498fc4de13064c7d65bd811de02c
With the last change, we no longer need both directions of mapping from
BBNumbers.  Instead of using a bi-directional mapping, just use a single
densemap.  This speeds up mem2reg on 176.gcc by 8%, from  1.3489 to
1.2485s.

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