[MemorySSA] Rename all phi entries.
authorAlina Sbirlea <asbirlea@google.com>
Fri, 30 Aug 2019 23:02:53 +0000 (23:02 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Fri, 30 Aug 2019 23:02:53 +0000 (23:02 +0000)
commit3d03769ba07c7fd30f8e6031140278e88a0d3f9c
tree22de9a74a5e1fbbbfbae46df4a40bea49ee66b1f
parent5ef5829fb02ac5e0daa2c2bfa6ef80366bee5224
[MemorySSA] Rename all phi entries.

When renaming Phis incoming values, there may be multiple edges incoming
from the same block (switch). Rename all.

llvm-svn: 370548
llvm/lib/Analysis/MemorySSA.cpp
llvm/test/Analysis/MemorySSA/renamephis.ll [new file with mode: 0644]