1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Analysis/BasicAA
Nicolai Hähnle 5d6415281f [IR] Memory intrinsics are not unconditionally nosync
Remove the `nosync` attribute from the memory intrinsic definitions
(i.e. memset, memcpy, memmove).

Like native memory accesses, memory intrinsics can be volatile. This is
indicated by an immarg in the intrinsic call. All else equal, a volatile
memory intrinsic is `sync`, so we cannot annotate the intrinsic functions
themselves as `nosync`. The attributor and function-attr passes know to
take the volatile bit into account.

Since `nosync` is a default attribute, this means we have to stop using
the DefaultAttrIntrinsic tablegen class for memory intrinsics, and
specify all default attributes other than `nosync` explicitly.

Most of the test changes are trivial churn, but one test case
(in nosync.ll) was in fact incorrect before this change.

Differential Revision: https://reviews.llvm.org/D102295
2021-05-21 03:40:59 +02: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
assume.ll
bug.23540.ll
bug.23626.ll
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
empty.ll
fallback-mayalias.ll
featuretest.ll
full-store-partial-alias.ll
gcsetest.ll
gep-alias.ll
gep-and-alias-64.ll
gep-and-alias.ll
gep-decomposition-limit.ll
gep-modulo.ll [AA] Updates for D95543. 2021-04-15 12:22:03 +03:00
getmodrefinfo-cs-cs.ll
global-size.ll
guards.ll
intrinsics-arm.ll
intrinsics.ll
invalidation.ll
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
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
noalias-scope-decl.ll
noalias-wraparound-bug.ll
nocapture.ll
phi-aa.ll
phi-and-select.ll
phi-loop.ll
phi-spec-order.ll
phi-speculation.ll
phi-values-usage.ll
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
store-promote.ll
struct-geps.ll
tail-byval.ll
tailcall-modref.ll
underlying-value.ll
unreachable-block.ll
vscale.ll
zext.ll