aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFabian Ritter <fabian.ritter@amd.com>2025-10-31 11:27:55 +0100
committerGitHub <noreply@github.com>2025-10-31 11:27:55 +0100
commit8ea447b4c4b007ea1c736f71e569fda621f4fdc8 (patch)
tree3b1dc453fbe92a9082c7a64bd29894c687840b4f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent10fbbb62ceb688a3ed0f6dfd95a8b545aa39ca74 (diff)
downloadllvm-8ea447b4c4b007ea1c736f71e569fda621f4fdc8.zip
llvm-8ea447b4c4b007ea1c736f71e569fda621f4fdc8.tar.gz
llvm-8ea447b4c4b007ea1c736f71e569fda621f4fdc8.tar.bz2
[SDAG] Set InBounds when when computing offsets into memory objects (#165425)
When a load or store accesses N bytes starting from a pointer P, and we want to compute an offset pointer within these N bytes after P, we know that the arithmetic to add the offset must be inbounds. This is for example relevant when legalizing too-wide memory accesses, when lowering memcpy&Co., or when optimizing "vector-load -> extractelement" into an offset load. For SWDEV-516125.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions