Use a multimap rather than a map for holding the list of copies to insert, so we...
authorOwen Anderson <resistor@mac.com>
Thu, 2 Oct 2008 19:40:33 +0000 (19:40 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 2 Oct 2008 19:40:33 +0000 (19:40 +0000)
commit8481ee7f521de7e5c82b4c0773e37ce8410271cd
tree1963c85c47c39620cdc254b4351147583214a398
parent48c1bc2ace6481d3272ab5c18e1f19352c563be8
Use a multimap rather than a map for holding the list of copies to insert, so we don't lose copies when two of them have
the same source.  I don't know what I was thinking when I wrote this originally.
Note: There's probably a more efficient way to do this, but I need to think about it some more, and about what determinism
guarantees need to be present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp