[all-commits] [llvm/llvm-project] 57d57b: [AAEval] Make compatible with opaque pointers
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Mar 16 02:05:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57d57b1afd87d714d622b4287f891d17a474ecb6
https://github.com/llvm/llvm-project/commit/57d57b1afd87d714d622b4287f891d17a474ecb6
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M llvm/lib/Analysis/AliasAnalysisEvaluator.cpp
M llvm/test/Analysis/BasicAA/128-bit-ptr.ll
M llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll
M llvm/test/Analysis/BasicAA/args-rets-allocas-loads.ll
M llvm/test/Analysis/BasicAA/assume-index-positive.ll
M llvm/test/Analysis/BasicAA/assume.ll
M llvm/test/Analysis/BasicAA/atomic-memory-intrinsics.ll
M llvm/test/Analysis/BasicAA/bug.23540.ll
M llvm/test/Analysis/BasicAA/bug.23626.ll
M llvm/test/Analysis/BasicAA/call-attrs.ll
M llvm/test/Analysis/BasicAA/cs-cs.ll
M llvm/test/Analysis/BasicAA/dag.ll
M llvm/test/Analysis/BasicAA/deoptimize.ll
M llvm/test/Analysis/BasicAA/dereferenceable.ll
M llvm/test/Analysis/BasicAA/gep-decomposition-limit.ll
M llvm/test/Analysis/BasicAA/gep-implicit-trunc-32-bit-pointers.ll
M llvm/test/Analysis/BasicAA/gep-modulo.ll
M llvm/test/Analysis/BasicAA/guards.ll
M llvm/test/Analysis/BasicAA/index-size.ll
M llvm/test/Analysis/BasicAA/invariant_group.ll
M llvm/test/Analysis/BasicAA/libfuncs-darwin.ll
M llvm/test/Analysis/BasicAA/libfuncs.ll
M llvm/test/Analysis/BasicAA/negoffset.ll
M llvm/test/Analysis/BasicAA/noalias-geps.ll
M llvm/test/Analysis/BasicAA/noalias-scope-decl.ll
M llvm/test/Analysis/BasicAA/phi-aa.ll
M llvm/test/Analysis/BasicAA/phi-spec-order.ll
M llvm/test/Analysis/BasicAA/phi-speculation.ll
M llvm/test/Analysis/BasicAA/pr31761.ll
M llvm/test/Analysis/BasicAA/pr35821.ll
M llvm/test/Analysis/BasicAA/pr35843.ll
M llvm/test/Analysis/BasicAA/pr52735.ll
M llvm/test/Analysis/BasicAA/ptrmask.ll
M llvm/test/Analysis/BasicAA/q.bad.ll
M llvm/test/Analysis/BasicAA/range.ll
M llvm/test/Analysis/BasicAA/recphi.ll
M llvm/test/Analysis/BasicAA/returned.ll
M llvm/test/Analysis/BasicAA/sequential-gep.ll
M llvm/test/Analysis/BasicAA/struct-geps.ll
M llvm/test/Analysis/BasicAA/vscale.ll
M llvm/test/Analysis/BasicAA/zext.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/assign.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/assign2.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/attrs-below.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/attrs.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/basic-interproc.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/cycle.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-deref-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-unknown.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-unknown.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Andersen/memalias.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/arguments-globals.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/arguments.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/asm-global-bugfix.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/attr-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/basic-interproc.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/branch-alias.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/const-expr-gep.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/const-exprs.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/gep-index-no-alias.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-deref-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-escape.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-unknown.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg-multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg-unknown.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/malloc-and-free.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel-combine.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/must-and-partial.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/opaque-call-alias.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/pr27213.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/stratified-attrs-indexing.ll
M llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/va.ll
M llvm/test/Analysis/GlobalsModRef/addrspacecast.ll
M llvm/test/Analysis/ScalarEvolution/scev-aa.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll
M llvm/test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll
Log Message:
-----------
[AAEval] Make compatible with opaque pointers
With opaque pointers, we cannot use the pointer element type to
determine the LocationSize for the AA query. Instead, -aa-eval
tests are now required to have an explicit load or store for any
pointer they want to compute alias results for, and the load/store
types are used to determine the location size.
This may affect ordering of results, and sorting within one result,
as the type is not considered part of the sorted string anymore.
To somewhat minimize the churn, printing still uses faux typed
pointer notation.
More information about the All-commits
mailing list