diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-14 09:17:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-14 08:17:33 +0100 |
commit | cad62df49a79df5e5136cfad280c5abc9f62c60b (patch) | |
tree | 8a91ae0d8643eea20e3f6c2a9db6273414766d89 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 040e7ad8281dcb52507070fbeec59421af78c5ca (diff) | |
download | llvm-cad62df49a79df5e5136cfad280c5abc9f62c60b.zip llvm-cad62df49a79df5e5136cfad280c5abc9f62c60b.tar.gz llvm-cad62df49a79df5e5136cfad280c5abc9f62c60b.tar.bz2 |
[Loads] Support dereferenceable assumption with variable size. (#128436)
Update isDereferenceableAndAlignedPointer to make use of dereferenceable
assumptions with variable sizes via SCEV.
To do so, factor out the logic to check via an assumption to a helper,
and use SE to check if the access size is less than the dereferenceable
size.
PR: https://github.com/llvm/llvm-project/pull/128436
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions