[MemorySSA] Fix a cache invalidation bug with removed accesses
commit3d238821f125366a4142f79f441db29b800a6b93
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 23 Feb 2018 23:07:18 +0000 (23 23:07 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 23 Feb 2018 23:07:18 +0000 (23 23:07 +0000)
tree6dd08d24073f68fdf598b3c692105f42293d6821
parent5e4b515c4bb332df9c3a063e888f9124a1cd0965
[MemorySSA] Fix a cache invalidation bug with removed accesses

I suspect there's a deeper issue here, but we probably shouldn't be
using INVALID_MEMORYSSA_ID as liveOnEntry's ID anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325971 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemorySSA.h
lib/Analysis/MemorySSA.cpp
unittests/Analysis/MemorySSA.cpp