diff options
author | Fabian Ritter <fabian.ritter@amd.com> | 2025-04-23 12:38:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-23 12:38:41 +0200 |
commit | 720a91183b16f94876adaa831d0a49a04d31420a (patch) | |
tree | dfe84402647acb92cb79bd8cc59b0979a9735905 /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | c93af22d124ed70742fb692886ff26d8786f8c2d (diff) | |
download | llvm-720a91183b16f94876adaa831d0a49a04d31420a.zip llvm-720a91183b16f94876adaa831d0a49a04d31420a.tar.gz llvm-720a91183b16f94876adaa831d0a49a04d31420a.tar.bz2 |
[SeparateConstOffsetFromGEP] Preserve inbounds flag based on ValueTracking and NUW (#130617)
If we know that the initial GEP was inbounds, and we change it to a
sequence of GEPs from the same base pointer where every offset is
non-negative, then the new GEPs are inbounds.
We can also preserve inbounds if the inbounds GEP and the involved additions are NUW.
For SWDEV-516125.
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions