diff options
author | Alex MacLean <amaclean@nvidia.com> | 2025-08-21 13:37:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-21 13:37:24 -0700 |
commit | 4a9d2187ee5dd7077c1a7917cf7ca6c95971754d (patch) | |
tree | 81c54424c94159c81ea6c2191ada7fc4d68ef591 /lldb/source/Commands/CommandObjectSettings.cpp | |
parent | 76b8e1920301027ab109fd3491ac79833d3367b4 (diff) | |
download | llvm-4a9d2187ee5dd7077c1a7917cf7ca6c95971754d.zip llvm-4a9d2187ee5dd7077c1a7917cf7ca6c95971754d.tar.gz llvm-4a9d2187ee5dd7077c1a7917cf7ca6c95971754d.tar.bz2 |
[SeparateConstOffsetFromGEP] propagate const offset through GEP chains (#143470)
When separating the constant offset from a GEP, if the pointer operand
is a constant ptradd (likely generated when we performed this transform
on that GEP), we accumulate the offset into the current offset. This
ensures that when there is a chain of GEPs the constant offset reaches
the final memory instruction where it can likely be folded into the
addressing.
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
0 files changed, 0 insertions, 0 deletions