diff options
author | Nikita Popov <npopov@redhat.com> | 2022-04-11 16:46:26 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-04-11 16:51:09 +0200 |
commit | 9af8cc8d1790a17506049f39be3272ff16022d58 (patch) | |
tree | f842398583bdf092e92201cd156c7a791cf20bfd /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 154609b1dfa6882b490a2652291548cf457f2e3b (diff) | |
download | llvm-9af8cc8d1790a17506049f39be3272ff16022d58.zip llvm-9af8cc8d1790a17506049f39be3272ff16022d58.tar.gz llvm-9af8cc8d1790a17506049f39be3272ff16022d58.tar.bz2 |
[SimplifyLibCalls] Remove unnecessary inbounds check
Even if the GEP is not inbounds, the GEP will have provenance of
the global, and accessing past the extent of the global would be
undefined behavior.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions