aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <ashaposhnikov@google.com>2022-08-16 21:25:19 +0000
committerAlexander Shaposhnikov <ashaposhnikov@google.com>2022-08-16 21:28:23 +0000
commitd68ba43ad24791181280fdb0f34b6be380db7a32 (patch)
tree65c7bbf29bdb81cd455ff364ad25c5a2a84af851 /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parent585f62be1a438ca132aa443e556d102bc908a072 (diff)
downloadllvm-d68ba43ad24791181280fdb0f34b6be380db7a32.zip
llvm-d68ba43ad24791181280fdb0f34b6be380db7a32.tar.gz
llvm-d68ba43ad24791181280fdb0f34b6be380db7a32.tar.bz2
[Intrinsics] Add initial support for NonNull attribute
Add initial support for NonNull attribute. (https://github.com/llvm/llvm-project/issues/57113) Test plan: verify that for __thread int x; int main() { int* y = &x; return *y; } (with this patch) clang -O -fsanitize=null -S -emit-llvm -o - doesn't emit a null-pointer check Differential revision: https://reviews.llvm.org/D131872
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions