[Constant Hoisting] Replace the MapVector with a separate Map and Vector to keep...
authorJuergen Ributzka <juergen@apple.com>
Fri, 21 Mar 2014 06:04:30 +0000 (06:04 +0000)
committerJuergen Ributzka <juergen@apple.com>
Fri, 21 Mar 2014 06:04:30 +0000 (06:04 +0000)
commit4cd215229d5956535c86c1bc6d20200e6ae9accb
tree677b976aa97281d612f2c8ac21c0e75da30946da
parent6785cf007c4eeefc8e0b0c1723dc98f9ad07f4be
[Constant Hoisting] Replace the MapVector with a separate Map and Vector to keep track of constant candidates.

This simplifies working with the constant candidates and removes the tight
coupling between the map and the vector.

Related to <rdar://problem/16381500>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204431 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ConstantHoisting.cpp