1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test/Transforms/JumpThreading
Philip Reames b12ecd2ebd [tests] Stablize tests for possible change in deref semantics
There's a potential change in dereferenceability attribute semantics in the nearish future.  See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context.

This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics.  Note that for many of these cases, O3 would infer exactly these attributes on the test IR.

This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory.  There's a couple other tests which need more one-off attention, they'll be handled in another change.
2021-07-14 13:05:43 -07:00
..
2008-11-27-EntryMunge.ll
2010-08-26-and.ll
2011-04-02-SimplifyDeadBlock.ll
2011-04-14-InfLoop.ll
2012-07-19-NoSuccessorIndirectBr.ll
aa-crash-phi-no-args.ll [BasicAA] Handle PHIs without incoming values gracefully 2021-06-07 21:39:01 +00:00
and-and-cond.ll
and-cond.ll
assume-edge-dom.ll
assume.ll
basic.ll
bb-unreachable-from-entry.ll
branch-debug-info2.ll [JumpThreading] merge debug info when merging select+br 2021-04-12 17:51:21 -07:00
branch-debug-info.ll
branch-no-const.ll
callbr-edge-split.ll
codesize-loop.ll
combine-metadata.ll
compare.ll
conservative-lvi.ll
constant-fold-status.ll
crash.ll
ddt-crash2.ll
ddt-crash3.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
ddt-crash4.ll
ddt-crash.ll
degenerate-phi.ll
divergent-target-test.ll
fold-not-thread.ll
freeze-lvi-edgevaluelocal.ll
freeze.ll
guards.ll [tests] Stablize tests for possible change in deref semantics 2021-07-14 13:05:43 -07:00
header-succ.ll
implied-cond.ll
indirectbr.ll
induction.ll
insert-placeholder-to-prevent-infinite-recursion.ll [LazyValueInfo] Insert an Overdefined placeholder to prevent infinite recursion 2021-05-07 16:05:50 +08:00
is_constant.ll
landing-pad.ll
loop-phi.ll
lvi-load.ll
lvi-tristate.ll
ne-undef.ll
no-irreducible-loops.ll
noalias-scope-decl.ll
nonnull-gep-out-of-bounds.ll
or-undef.ll
phi-copy-to-pred.ll
phi-eq.ll
phi-known.ll
pr9331.ll
pr15851_hang.ll
pr22086.ll
pr26096.ll
pr27840.ll
pr33605.ll
pr33917.ll
pr36133.ll
pr40992-indirectbr-folding.ll
pr43276.ll
pr46857-callbr.ll
PR33357-lvi-recursion.ll
PR37745.ll
PR44611-across-header-hang.ll
pre-load.ll
range-compare.ll
redundant-dbg-info.ll
removed-use.ll
select-unfold-freeze.ll
select-unfold-msan.ll
select.ll
stale-loop-info-after-unfold-select.ll
static-profile.ll
thread-cmp.ll
thread-loads.ll
thread-prob-1.ll
thread-prob-2.ll
thread-prob-3.ll
thread-prob-4.ll
thread-prob-5.ll
thread-prob-6.ll
thread-two-bbs-cuda.ll
thread-two-bbs-msvc.ll
thread-two-bbs-threshold.ll
thread-two-bbs.ll
threadable-edge-cast.ll
threading_prof1.ll
threading_prof2.ll
unreachable-loops.ll
update-edge-weight.ll