[PATCH] D123250: [TBAA] Improve the interface of TBAA.h to enable code reuse.

Joshua Cranmer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 13:20:36 PDT 2022


jcranmer-intel created this revision.
Herald added subscribers: jeroen.dobbelaere, dexonsmith, kosarev, hiraditya.
Herald added a project: All.
jcranmer-intel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

One of the important reuses here is isStructPathTBAA, which I've seen copied
around in a few too many contexts before. However, I think most of the people
using that function really want it to mean "is this valid as an access tag"
which works for old-struct-path, but not new-struct-path TBAA.

Depends on D123249 <https://reviews.llvm.org/D123249>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123250

Files:
  llvm/include/llvm/IR/TBAA.h
  llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
  llvm/lib/IR/Verifier.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123250.420995.patch
Type: text/x-patch
Size: 11877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220406/d3b9c75f/attachment.bin>


More information about the llvm-commits mailing list