]> granicus.if.org Git - llvm/commit
[MemorySSA] Update Phi creation when inserting a Def.
authorAlina Sbirlea <asbirlea@google.com>
Wed, 2 Oct 2019 18:42:33 +0000 (18:42 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Wed, 2 Oct 2019 18:42:33 +0000 (18:42 +0000)
commitc1679d6c229dca9bf7b6a7e98256ee39967339df
treefa7bf3e151d4b6392f72229ccc3c9d4bf096f581
parent091f50348a699dbaac6bad4ed5aa9962bb910ff6
[MemorySSA] Update Phi creation when inserting a Def.

MemoryPhis should be added in the IDF of the blocks newly gaining Defs.
This includes the blocks that gained a Phi and the block gaining a Def,
if the block did not have one before.
Resolves PR43427.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373505 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemorySSAUpdater.cpp
test/Analysis/MemorySSA/pr43427.ll [new file with mode: 0644]