llvm-project
c0480738 - [Clang][CodeGen] Respect -fwrapv-pointer when emitting struct GEPs (#134269)

Commit
178 days ago
[Clang][CodeGen] Respect -fwrapv-pointer when emitting struct GEPs (#134269) This patch turns off inbounds/nuw flags for member accesses when `-fwrapv-pointer` is set. Closes https://github.com/llvm/llvm-project/issues/132449. It is required by https://github.com/llvm/llvm-project/pull/130734.
Author
Parents
Loading