1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Analysis/MemorySSA
Alina Sbirlea 2fef211552 [MemorySSA] Fix existing phis when inserting defs.
Summary:
When inserting a new Def, and inserting Phis in the IDF when needed,
also mark the already existing Phis in the IDF as non-optimized, since
these may need fixing as well.
In the test attached, there is a Phi in the IDF that happens to be
trivial, and is wrongfully removed by the call to getLastDef that
follows. This is a valid situation and the existing IDF Phis need to
marked as "may need fixing" as well.
Resolves PR43044.

Reviewers: george.burgess.iv

Subscribers: Prazek, sanjoy.google, llvm-commits

Tags: #llvm

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

llvm-svn: 369464
2019-08-20 22:29:06 +00:00
..
assume.ll
atomic-clobber.ll
basicaa-memcpy.ll
constant-memory.ll
cyclicphi.ll
forward-unreachable.ll
function-clobber.ll
function-mem-attrs.ll
invalidate.ll [MemorySSA] Fix CHECKs in test. [NFC] 2019-05-07 22:26:52 +00:00
invariant-groups.ll
lifetime-simple.ll
load-invariant.ll
loop_rotate_remove_trivial_phis.ll [MemorySSA] When applying updates, clean unnecessary Phis. 2019-06-11 19:09:34 +00:00
loop-rotate-inv-template.ll [MemorySSA] Don't use template when the clone is a simplified instruction. 2019-06-17 18:58:40 +00:00
loop-rotate-simplified-clone.ll [MemorySSA] Extend allowed behavior for simplified instructions. 2019-07-30 20:10:33 +00:00
loop-rotate-valuemap.ll [LoopRotate + MemorySSA] Keep an <instruction-cloned instruction> map. 2019-07-10 17:36:56 +00:00
many-dom-backedge.ll
many-doms.ll
multi-edges.ll
multiple-backedges-hal.ll
multiple-locations.ll
no-disconnected.ll
nondeterminism.ll [MemorySSA] Use SetVector to avoid nondeterminism. 2019-07-12 22:30:30 +00:00
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
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
pr41853.ll [MemorySSA] LoopSimplify preserves MemorySSA only when flag is flipped. 2019-05-14 18:07:18 +00:00
pr42294.ll [LICM & MSSA] Fixed test to run only with assertions enabled as it uses -debug-only 2019-06-21 04:49:40 +00:00
PR42940.ll [MemorySSA] Rename uses when inserting memory uses. 2019-08-19 18:57:40 +00:00
PR43044.ll [MemorySSA] Fix existing phis when inserting defs. 2019-08-20 22:29:06 +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
simple_loop_unswitch_nontrivial.ll [MemorySSA] Cleanup trivial phis. 2019-06-19 21:33:09 +00:00
unreachable.ll [MemorySSA] Add additional verification for phis. 2019-07-31 17:41:04 +00:00
update_unroll.ll [MemorySSA] Add all MemoryPhis before filling their values. 2019-06-17 18:16:53 +00:00
volatile-clobber.ll