SafepointIRVerifier - silence static analyzer dyn_cast<Instruction> null dereference...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Sep 2019 13:57:44 +0000 (13:57 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 24 Sep 2019 13:57:44 +0000 (13:57 +0000)
commit734d3f49ad3856debff95835243b70d9868de573
tree9e0b2a407095bffd94a6f7db4b53b6a6022b2646
parente94242f3997c4ce8c6bcf29afc4445a7859909d1
SafepointIRVerifier - silence static analyzer dyn_cast<Instruction> null dereference warnings. NFCI.

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

llvm-svn: 372758
llvm/lib/IR/SafepointIRVerifier.cpp