1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +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 [NFCI][SimplifyCFG] Mark all the SimplifyCFG tests that already don't invalidate DomTree as such 2020-12-17 01:03:49 +03:00
and-cond.ll [NFCI][SimplifyCFG] Mark all the SimplifyCFG tests that already don't invalidate DomTree as such 2020-12-17 01:03:49 +03:00
assume-edge-dom.ll
assume.ll [ValueTracking] Don't assume readonly function will return 2021-01-24 10:40:21 +01:00
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 OpaquePtr: Bulk update tests to use typed sret 2020-11-20 17:58:26 -05:00
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 [JumpThreading][NewPM] Skip when target has divergent CF 2021-01-04 16:08:08 -08:00
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 [SimplifyCFG] Teach FoldValueComparisonIntoPredecessors() to preserve DomTree, part 1 2021-01-01 03:25:22 +03:00
ne-undef.ll
no-irreducible-loops.ll [SimplifyCFG] MergeBlockIntoPredecessor() already knows how to preserve DomTree 2020-12-17 01:03:49 +03:00
noalias-scope-decl.ll [JumpThreading] Clone noalias.scope.decl when threading blocks 2021-02-22 18:35:30 +01:00
nonnull-gep-out-of-bounds.ll For non-null pointer checks, do not descend through out-of-bounds GEPs 2021-04-09 14:09:23 +01:00
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 [BasicAA] Drop dependency on Loop Info. PR43276 2021-03-17 11:43:44 +07:00
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 [Test] Replace checks with auto-generated checks 2021-03-15 14:32:00 +07:00
thread-prob-1.ll
thread-prob-2.ll
thread-prob-3.ll [BPI] Improve static heuristics for "cold" paths. 2020-12-23 22:47:36 +07:00
thread-prob-4.ll [JumpThreading] Call eraseBlock when folding a conditional branch 2020-12-03 23:50:17 -08:00
thread-prob-5.ll [JumpThreading] Call eraseBlock when folding a conditional branch 2020-12-03 23:50:17 -08:00
thread-prob-6.ll [JumpThreading] Call eraseBlock when folding a conditional branch 2020-12-03 23:50:17 -08:00
thread-two-bbs-cuda.ll
thread-two-bbs-msvc.ll
thread-two-bbs-threshold.ll
thread-two-bbs.ll [ConstantFold] allow folding icmp of null and constexpr 2021-03-08 08:53:59 -05:00
threadable-edge-cast.ll
threading_prof1.ll
threading_prof2.ll
unreachable-loops.ll [JumpThreading][VectorUtils] avoid infinite loop on unreachable IR 2020-12-02 13:39:33 -05:00
update-edge-weight.ll