1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Transforms/SROA
Anton Afanasyev 7d50198c39 [Metadata] Add TBAA struct metadata to AAMDNode
Summary:
Make `AAMDNodes`' `getAAMetadata()` and `setAAMetadata()` to take `!tbaa.struct`
into account as well as `!tbaa`. This impacts llvm.org/pr42022.
This is a temprorary fix needed to keep `!tbaa.struct` tag by SROA pass.
New field `TBAAStruct` should be deleted when `!tbaa` tag replaces `!tbaa.struct`.
Merging two `!tbaa.struct`'s to one is conservatively considered to be `nullptr`
(giving `MayAlias`) -- this could be enhanced, but relying on the said future
replacement.

Reviewers: RKSimon, spatel, vporpo

Subscribers: hiraditya, kosarev, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70924
2020-01-06 11:05:15 +03:00
..
address-spaces.ll
addrspacecast.ll
alignment.ll
alloca-address-space.ll
basictest.ll
big-endian.ll
dbg-addr-diamond.ll
dbg-single-piece.ll
dead-inst.ll
fca.ll
mem-par-metadata-sroa.ll
non-integral-pointers.ll
phi-and-select.ll
phi-with-duplicate-pred.ll
pointer-offset-size.ll
ppcf128-no-fold.ll
pr26972.ll
pr37267.ll
preserve-nonnull.ll
slice-order-independence.ll
slice-width.ll
tbaa-struct.ll
vector-conversion.ll
vector-lifetime-intrinsic.ll
vector-promotion-different-size.ll
vector-promotion.ll
vectors-of-pointers.ll