diff options
| author | Fabian Ritter <fabian.ritter@amd.com> | 2025-10-31 11:27:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 11:27:55 +0100 |
| commit | 8ea447b4c4b007ea1c736f71e569fda621f4fdc8 (patch) | |
| tree | 3b1dc453fbe92a9082c7a64bd29894c687840b4f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 10fbbb62ceb688a3ed0f6dfd95a8b545aa39ca74 (diff) | |
| download | llvm-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
