[clang] [llvm] [clang][CodeGen][AA] Add `!llvm.errno.tbaa` gathering int-compatible TBAA nodes (PR #125258)
Antonio Frighetto via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 21 06:02:31 PST 2025
antoniofrighetto wrote:
> > so IIUC !llvm.errno.tbaa should just be a module-level list of int-compatible TBAA nodes.
>
> Yes, exactly. It should be a module level MD node, not on individual instructions.
Thank you, I'm updating this. I've been contemplating this, and thought originally we needed to extend TBAA (like aliasErrno as per tmp commit), but TBAA seems to take care of this already (as clang propagates int TBAA correctly to the call), so I think this shouldn't be needed. Though, I *believe* there should be some additional AA handling (along the ifdef lines), is that correct?
https://github.com/llvm/llvm-project/pull/125258
More information about the cfe-commits
mailing list