diff options
author | Hanbum Park <kese111@gmail.com> | 2023-06-29 09:13:18 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-06-29 09:16:26 +0200 |
commit | 46a574501731dcf313f52e20cd5bc56111a2a492 (patch) | |
tree | 2b7388fac6854747d3cb2086d52e2526aff76a15 /lldb/source/Commands/CommandObjectPlatform.cpp | |
parent | 1d7f9ce61f6e689ca63df2e36808885c873cf80b (diff) | |
download | llvm-46a574501731dcf313f52e20cd5bc56111a2a492.zip llvm-46a574501731dcf313f52e20cd5bc56111a2a492.tar.gz llvm-46a574501731dcf313f52e20cd5bc56111a2a492.tar.bz2 |
[InstSimplify] Fold icmp of allocas based on offset difference
Strengthen the fold for icmps of non-overlapping storage, by
working on the difference of offsets, rather than considering
both offsets independently. In particular, this allows handling
comparisons of pointers to the end of equal-sized allocations.
Proofs: https://alive2.llvm.org/ce/z/Po2nL4
Differential Revision: https://reviews.llvm.org/D153752
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions