llvm-capstone/llvm/test/Analysis/MemorySSA
Alina Sbirlea 0363c3b8bb [MemorySSA] Check that block is reachable when adding phis.
Summary:
Originally the insertDef method was only used when building MemorySSA, and was limiting the number of Phi nodes that it created.
Now it's used for updates as well, and it can create additional Phis needed for correctness.
Make sure no Phis are created in unreachable blocks (condition met during MSSA build), otherwise the renamePass will find a null DTNode.

Resolves PR41640.

Reviewers: george.burgess.iv

Subscribers: jlebar, Prazek, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61410

llvm-svn: 359845
2019-05-02 23:41:58 +00:00
..
assume.ll
atomic-clobber.ll
basicaa-memcpy.ll Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
constant-memory.ll
cyclicphi.ll llvm: Add support for "-fno-delete-null-pointer-checks" 2018-07-09 22:27:23 +00:00
forward-unreachable.ll
function-clobber.ll
function-mem-attrs.ll
invalidate.ll [MemorySSA] Invalidate MemorySSA if AA or DT are invalidated. 2019-04-30 22:43:55 +00:00
invariant-groups.ll [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
lifetime-simple.ll
load-invariant.ll
many-dom-backedge.ll [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
many-doms.ll [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
multi-edges.ll [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
multiple-backedges-hal.ll [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
multiple-locations.ll
no-disconnected.ll
optimize-use.ll [MemorySSA] Limit clobber walks. 2019-03-29 21:56:09 +00:00
phi-translation.ll [MemorySSA] Limit clobber walks. 2019-03-29 21:56:09 +00:00
pr28880.ll
pr36883.ll [MemorySSA] Consider callsite args for hashing and equality. 2018-03-29 00:54:39 +00:00
pr39197.ll [MemorySSA & SimpleLoopUnswitch] Update MemorySSA in ReplaceUsesOfWith. 2019-02-26 19:44:52 +00:00
pr40037.ll [MemorySSA] Update test with minimized one. NFCI 2019-02-22 07:34:54 +00:00
pr40038.ll [MemorySSA & LoopPassManager] Resolve PR40038. 2019-02-22 07:18:37 +00:00
pr40509.ll [MemorySSA] Remove verifyClobberSanity. 2019-02-11 19:51:21 +00:00
pr40749_2.ll [MemorySSA] Add previous def to cache when found, even if trivial. 2019-04-12 21:58:52 +00:00
pr40749.ll [MemorySSA] Make insertDef insert corresponding phi nodes. 2019-02-27 22:20:22 +00:00
pr40754.ll [MemorySSA] Make insertDef insert corresponding phi nodes. 2019-02-27 22:20:22 +00:00
pr41254.ll [MemorySSA] Don't optimize incomplete phis. 2019-03-29 21:16:31 +00:00
pr41640.ll [MemorySSA] Check that block is reachable when adding phis. 2019-05-02 23:41:58 +00:00
ptr-const-mem.ll
reduce_clobber_limit.ll [MemorySSA] Small fix for the clobber limit. 2019-04-12 18:48:46 +00:00
volatile-clobber.ll