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

[Hexagon] aligned load/store patterns - use cast<> instead of dyn_cast<> to...

[Hexagon] aligned load/store patterns - use cast<> instead of dyn_cast<> to avoid dereference of nullptr

The pointer is always referenced inside isAlignedMemNode, so assert the cast is correct instead of returning nullptr
parent ae4bec20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment