[llvm] [TBAA] Do not rewrite TBAA tag in `adjustForAccess` if already exists (PR #96483)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 13:41:12 PDT 2024
fhahn wrote:
> > Is there any reason that clang shouldn't emit struct-path tags for !tbaa.struct?
>
> That seems to be the case, AFAICT, though this should be orthogonal wrt the above, if I'm not mistaken.
I am not sure, have inconsistent/conflicting `tbaa` and `tbaa.struct` nodes seems like it could cause other problems as well. If `tbaa.struct` nodes would be consistent with the `!tbaa` nodes, this patch shouldn't be needed?
https://github.com/llvm/llvm-project/pull/96483
More information about the llvm-commits
mailing list