aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorFabian Ritter <fabian.ritter@amd.com>2025-04-23 12:38:41 +0200
committerGitHub <noreply@github.com>2025-04-23 12:38:41 +0200
commit720a91183b16f94876adaa831d0a49a04d31420a (patch)
treedfe84402647acb92cb79bd8cc59b0979a9735905 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentc93af22d124ed70742fb692886ff26d8786f8c2d (diff)
downloadllvm-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