[clang] [Clang][CodeGen] Respect -fwrapv-pointer when emitting struct GEPs (PR #134269)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 09:58:03 PDT 2025


efriedma-quic wrote:

> most of them are safe

What's the distinguishing factor here?  Do you consider it "safe" to mark inbounds if the pointer is immediately dereferenced?  Or does the pointer have to refer to a known successful allocation?  Or something else?

https://github.com/llvm/llvm-project/pull/134269


More information about the cfe-commits mailing list