HomePhabricator

Silence static analyzer getAs<VectorType> null dereference warnings. NFCI.

Authored by RKSimon on Oct 2 2019, 8:31 AM.

Description

Silence static analyzer getAs<VectorType> null dereference warnings. NFCI.

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

llvm-svn: 373478

Details