aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSettings.cpp
diff options
context:
space:
mode:
authorAlex MacLean <amaclean@nvidia.com>2025-08-21 13:37:24 -0700
committerGitHub <noreply@github.com>2025-08-21 13:37:24 -0700
commit4a9d2187ee5dd7077c1a7917cf7ca6c95971754d (patch)
tree81c54424c94159c81ea6c2191ada7fc4d68ef591 /lldb/source/Commands/CommandObjectSettings.cpp
parent76b8e1920301027ab109fd3491ac79833d3367b4 (diff)
downloadllvm-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