Skip to content
Commit e2ded3d1 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

LoopAccessAnalysis isConsecutiveAccess() - silence static analyzer...

LoopAccessAnalysis isConsecutiveAccess() - silence static analyzer dyn_cast<SCEVConstant> null dereference warning. NFCI.

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

llvm-svn: 373465
parent 369d16a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment