diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-04-10 00:48:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-10 00:48:18 +0800 |
commit | c0480738cb3f4b2db47b77f5b18f9819cb995373 (patch) | |
tree | b1df808cf699d19d4366024e0ae7f0ecc5df07ff /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 543e5f5842fe576bb8752f04345b2cc995e5bb50 (diff) | |
download | llvm-c0480738cb3f4b2db47b77f5b18f9819cb995373.zip llvm-c0480738cb3f4b2db47b77f5b18f9819cb995373.tar.gz llvm-c0480738cb3f4b2db47b77f5b18f9819cb995373.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions