]> granicus.if.org Git - llvm/commit
[AArch64] AArch64StackTagging - Silence static analyzer dyn_cast<> null dereference...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 22 Sep 2019 13:43:12 +0000 (13:43 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 22 Sep 2019 13:43:12 +0000 (13:43 +0000)
commit280ad61e0b40564a838e4fe96bec1fd84b0cd545
tree5702364a6bf54cb48969028841512c007632f402
parent338309becd7fb051ef317a53d5e324a37bc3c949
[AArch64] AArch64StackTagging - Silence static analyzer dyn_cast<> null dereference warning. NFCI.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372507 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64StackTagging.cpp