diff options
| author | Michael Kruse <llvm@meinersbur.de> | 2018-04-09 23:13:05 +0000 | 
|---|---|---|
| committer | Michael Kruse <llvm@meinersbur.de> | 2018-04-09 23:13:05 +0000 | 
| commit | 192e7f72cae7f41b90f260f9fda334cd777e6ad6 (patch) | |
| tree | 25b887724561f7e7f4ef488d08fe6ecd1be5956c /llvm/unittests/Transforms | |
| parent | 7de61668aedf4ac986a303a34aba98a452c6abef (diff) | |
| download | bcm5719-llvm-192e7f72cae7f41b90f260f9fda334cd777e6ad6.tar.gz bcm5719-llvm-192e7f72cae7f41b90f260f9fda334cd777e6ad6.zip | |
[ScopInfo] Completely remove MemoryAccesses when their parent statement is removed.
Removing a statement left its MemoryAccesses in some lists and maps of
the SCoP.  Which lists depends on at which phase of the SCoP
construction the statement is deleted.  Follow-up passes could still see
the already deleted MemoryAccesses by iterating through these
lists/maps, resulting in an access violation.
When removing a ScopStmt, also remove all its MemoryAccesses by using
the same mechnism that removes a MemoryAccess.
llvm-svn: 329640
Diffstat (limited to 'llvm/unittests/Transforms')
0 files changed, 0 insertions, 0 deletions

