1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Analysis/BasicAA
Philip Reames 99a7d1e6cf [tests] Stablize tests for possible change in deref semantics
This is conceptually part of e75a2dfe.  This file contains both tests whose results don't change (with the right attributes added), and tests which fundementally regress with the current proposal.  Doing the update took some care, thus the seperate change.

Here's the e75a2dfe context repeated:

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:37:50 -07:00
..
128-bit-ptr.ll
2003-02-26-AccessSizeTest.ll
2003-03-04-GEPCrash.ll
2003-04-22-GEPProblem.ll
2003-04-25-GEPCrash.ll
2003-05-21-GEP-Problem.ll
2003-06-01-AliasCrash.ll
2003-07-03-BasicAACrash.ll
2003-09-19-LocalArgument.ll
2003-11-04-SimpleCases.ll
2003-12-11-ConstExprGEP.ll
2004-07-28-MustAliasbug.ll
2006-03-03-BadArraySubscript.ll
2006-11-03-BasicAAVectorCrash.ll
2007-01-13-BasePointerBadNoAlias.ll
2007-08-01-NoAliasAndCalls.ll
2007-08-01-NoAliasAndGEP.ll
2007-08-05-GetOverloadedModRef.ll
2007-10-24-ArgumentsGlobals.ll
2007-11-05-SizeCrash.ll
2007-12-08-OutOfBoundsCrash.ll
2008-04-15-Byval.ll
2008-06-02-GEPTailCrash.ll
2008-11-23-NoaliasRet.ll
2009-03-04-GEPNoalias.ll
2009-10-13-AtomicModRef.ll
2009-10-13-GEP-BaseNoAlias.ll
2010-09-15-GEP-SignedArithmetic.ll
2014-03-18-Maxlookup-reached.ll
aligned-overread.ll
args-rets-allocas-loads.ll
assume-index-positive.ll [BasicAA] Make sure context instruction is symmetric 2020-12-25 11:35:46 +01:00
assume.ll [BasicAA] Handle assumes with operand bundles 2021-03-23 21:21:19 +01:00
bug.23540.ll
bug.23626.ll [BasicAA] Handle known non-zero variable index 2020-12-13 13:20:05 +01:00
byval.ll
call-attrs.ll
cas.ll
constant-over-index.ll
cs-cs-arm.ll
cs-cs.ll [IR] Memory intrinsics are not unconditionally nosync 2021-05-21 03:40:59 +02:00
dag.ll
deoptimize.ll
dereferenceable.ll [tests] Stablize tests for possible change in deref semantics 2021-07-14 13:37:50 -07:00
empty.ll
fallback-mayalias.ll [BasicAA] Migrate "same base pointer" logic to decomposed GEPs 2020-12-06 10:27:35 +01:00
featuretest.ll reland [InstCombine] convert assumes to operand bundles 2021-02-13 13:03:11 +01:00
full-store-partial-alias.ll
gcsetest.ll
gep-alias.ll Reland "[Libcalls, Attrs] Annotate libcalls with noundef" 2021-02-20 06:18:48 +01:00
gep-and-alias-64.ll
gep-and-alias.ll
gep-decomposition-limit.ll
gep-modulo.ll [BasicAA] Use separate scale variable for GCD. 2021-06-30 20:04:39 +01:00
getmodrefinfo-cs-cs.ll
global-size.ll
guards.ll
intrinsics-arm.ll
intrinsics.ll
invalidation.ll [BasicAA] Drop dependency on Loop Info. PR43276 2021-03-17 11:43:44 +07:00
invariant_group.ll [AA] Updates for D95543. 2021-04-15 12:22:03 +03:00
invariant_load.ll
libfuncs.ll
memset_pattern.ll
modref.ll
must-and-partial.ll
negoffset.ll [basicaa] Rewrite isGEPBaseAtNegativeOffset in terms of index difference [mostly NFC] 2021-03-03 09:03:28 -08:00
no-escape-call.ll
noalias-bugs.ll
noalias-geps.ll
noalias-inttoptr.ll BasicAA: Recognize inttoptr as isEscapeSource 2021-05-07 07:48:50 -07:00
noalias-param.ll [AA] byval argument is identified function local 2020-12-21 20:18:23 +01:00
noalias-scope-decl.ll [noalias.decl] Look through llvm.experimental.noalias.scope.decl 2021-01-19 20:09:42 +01:00
noalias-wraparound-bug.ll
nocapture.ll
phi-aa.ll [BasicAA] Always strip single-argument phi nodes 2021-02-18 23:07:50 +01:00
phi-and-select.ll
phi-loop.ll
phi-spec-order.ll [BasicAA] Add extra check in phi-spec-order.ll (NFC) 2020-12-11 21:20:51 +01:00
phi-speculation.ll [BasicAA] Fix BatchAA results for phi-phi assumptions 2021-01-06 22:15:30 +01:00
phi-values-usage.ll [MemCopyOpt] Enable MemorySSA by default 2021-02-19 18:06:25 +01:00
pr18573.ll
pr31761.ll
pr35821.ll
pr35843.ll
ptrmask.ll
pure-const-dce.ll
q.bad.ll [BasicAA] Make sure types match in constant offset heuristic 2021-03-28 21:38:09 +02:00
recphi.ll [AA] Updates for D95543. 2021-04-15 12:22:03 +03:00
returned.ll
sequential-gep.ll [BasicAA] Pass AC/DT to isKnownNonEqual() 2020-12-25 18:29:20 +01:00
store-promote.ll
struct-geps.ll
tail-byval.ll
tailcall-modref.ll
underlying-value.ll
unreachable-block.ll
vscale.ll
zext.ll [BasicAA] Refactor linear expression decomposition 2021-03-27 23:31:58 +01:00