diff options
author | Nikita Popov <npopov@redhat.com> | 2023-06-29 10:04:46 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-07-06 16:48:43 +0200 |
commit | f3d0613d852a90563a1e8704930a6e79368f106a (patch) | |
tree | 64ed498368766d0cc2e0096a1c288b3714c851d1 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 36df92dcd9195e002f91390b3dca1a8b66dedfe2 (diff) | |
download | llvm-f3d0613d852a90563a1e8704930a6e79368f106a.zip llvm-f3d0613d852a90563a1e8704930a6e79368f106a.tar.gz llvm-f3d0613d852a90563a1e8704930a6e79368f106a.tar.bz2 |
[CaptureTracking] Don't consider comparison of inbounds GEP with nonnull non-capturing
This is required to bring CaptureTracking in line with the new
semantics from D154051, as gep inbounds p, 0 is now always non-poison.
There are many ways in which the inbounds special case could be
preserved: If the index is known non-zero, or there is an inbounds
chain down to an identified object, etc. However, I have opted to
drop the special case entirely, as it appears to be low value:
In cases where we can determine such things (e.g. the affected test
cases) we would end up removing the compare via isGEPKnownNonNull()
logic anyway.
Differential Revision: https://reviews.llvm.org/D154054
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions