[clang] [TBAA] Don't emit pointer-tbaa for void pointers. (PR #122116)
John McCall via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 11:53:18 PST 2025
rjmccall 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.
https://github.com/llvm/llvm-project/pull/122116
More information about the cfe-commits
mailing list