This is an archive of the discontinued LLVM Phabricator instance.

[TBAA] Improve the interface of TBAA.h to enable code reuse.
Needs ReviewPublic

Authored by jcranmer-intel on Apr 6 2022, 1:20 PM.



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

Diff Detail