[llvm] [TBAA] Assume struct member TBAA does not alias errno (PR #200367)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 01:19:09 PDT 2026
antoniofrighetto wrote:
I also believe that giving errno its own struct type identity in the frontend should compose more naturally with any potential future changes to how errno is modeled or how struct-path TBAA evolves (should that ever happen). I have been really wondering whether we actually need `errnomem: write` on `new` in the first place, for all the reasons already expressed, but I'm leaning towards aligning with GCC here as the more pragmatic and conservative choice.
https://github.com/llvm/llvm-project/pull/200367
More information about the llvm-commits
mailing list