[MemorySSA] Rename uses in blocks with Phis.
authorAlina Sbirlea <asbirlea@google.com>
Tue, 15 Sep 2020 01:07:44 +0000 (18:07 -0700)
committerAlina Sbirlea <asbirlea@google.com>
Thu, 17 Sep 2020 00:24:17 +0000 (17:24 -0700)
commit344a3d0bc0fb0868b519c3342b4982d6121eece3
tree2ec0bb02a48be82e727fc72385b56cdf39eb1c37
parente30371d99d5157ac9718c803dd1101f9cbb1b224
[MemorySSA] Rename uses in blocks with Phis.

Renaming should include blocks with existing Phis.

Resolves PR45927.

Differential Revision: https://reviews.llvm.org/D87661
llvm/lib/Analysis/MemorySSAUpdater.cpp
llvm/test/Analysis/MemorySSA/pr45927.ll [new file with mode: 0644]