diff options
author | Nikita Popov <npopov@redhat.com> | 2024-12-06 10:09:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 10:09:30 +0100 |
commit | 3eed8479a895253307c6d87a38bb5acf314c6505 (patch) | |
tree | f37b77b7539dded3e1ec9bf65b8a42da74d9a9d2 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | e9fb0ad21dd3593bf641e4fb0aec6d641cb511f3 (diff) | |
download | llvm-3eed8479a895253307c6d87a38bb5acf314c6505.zip llvm-3eed8479a895253307c6d87a38bb5acf314c6505.tar.gz llvm-3eed8479a895253307c6d87a38bb5acf314c6505.tar.bz2 |
[profile] Fix bounds checks in profile merging (#118782)
These bounds checks work on the result of the pointer addition -- but
the pointer addition already asserts that no overflow may occur, so the
checks are optimized away after #118472. Avoid this by performing the
addition in a way that permits overflow.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions