aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-04-11 16:46:26 +0200
committerNikita Popov <npopov@redhat.com>2022-04-11 16:51:09 +0200
commit9af8cc8d1790a17506049f39be3272ff16022d58 (patch)
treef842398583bdf092e92201cd156c7a791cf20bfd /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent154609b1dfa6882b490a2652291548cf457f2e3b (diff)
downloadllvm-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