[PATCH] D70924: [Metadata] Add TBAA struct metadata to `AAMDNode`

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 2 14:07:34 PST 2019


anton-afanasyev created this revision.
anton-afanasyev added reviewers: RKSimon, spatel, vporpo.
Herald added subscribers: llvm-commits, kosarev, hiraditya.
Herald added a project: LLVM.

Make `AAMDNodes`' `getAAMetadata()` and `setAAMetadata()` to take `!tbaa.struct`
into account as well as `!tbaa`. This impacts llvm.org/pr42022.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70924

Files:
  llvm/include/llvm/IR/Metadata.h
  llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
  llvm/lib/IR/Metadata.cpp
  llvm/test/Transforms/SROA/tbaa-struct.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70924.231777.patch
Type: text/x-patch
Size: 4138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191202/f5e1e041/attachment.bin>


More information about the llvm-commits mailing list