]> granicus.if.org Git - llvm/commit
lowerObjCCall - silence static analyzer dyn_cast<CallInst> null dereference warnings...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Sep 2019 10:46:30 +0000 (10:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Sep 2019 10:46:30 +0000 (10:46 +0000)
commit73485f3e48145bd0b77148cc64ca5ea8662c281b
treef57b7e5597c76262ea0f5cc2b0808fbbcf0bad00
parent46f21756cf5043ed33d6ae49e78fe55a92d3d662
lowerObjCCall - silence static analyzer dyn_cast<CallInst> null dereference warnings. NFCI.

The static analyzer is warning about a potential null dereference, but we should be able to use cast<CallInst> directly and if not assert will fire for us.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372720 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PreISelIntrinsicLowering.cpp