[clang] [TBAA] Don't emit pointer-tbaa for void pointers. (PR #122116)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 02:13:50 PST 2025
fhahn wrote:
> Okay, so if the ultimate pointee type is `void`, we're basically treating that as a generic pointer, no matter what the pointer depth is? I guess that makes sense.
>
> > What would be a good place to document this?
>
> Hmm, I was hoping that we would have a section in the manual already about aliasing. That seems like a good thing to add, especially now that we've got a small family of options controlling it. Are you interested in working on that? It should probably go on the main manual page right before the section on PGO.
Thanks for the suggestion, I added a section to the manual. I hope that's along the lines of what you had in mind?
https://github.com/llvm/llvm-project/pull/122116
More information about the cfe-commits
mailing list