[Transforms] classifyArgUse - don't deference pointer before null test
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 25 Oct 2022 16:23:25 +0000 (17:23 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 25 Oct 2022 16:24:00 +0000 (17:24 +0100)
commit50fe87a5c8597eb72e6055356fa7dad364756ff7
tree0ed7960b18feeace9538ca924dfb9a5f544d4c8d
parent60809cd29308e78d662375e6957a2b1b85415def
[Transforms] classifyArgUse - don't deference pointer before null test

Reported here: https://pvs-studio.com/en/blog/posts/cpp/1003/ (N11)
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp