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

[AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<>...

[AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

Don't directly dereference a dyn_cast<> - use cast<> so we assert for the correct type.

Also, simplify the for loop to a range loop.

Fixes clang static analyzer warning.
parent fa6d8977
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment