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

[AArch64] AArch64DAGToDAGISel::tryReadRegister/tryWriteRegister - don't...

[AArch64] AArch64DAGToDAGISel::tryReadRegister/tryWriteRegister - don't dereference dyn_cast<> results.

dyn_cast<> can return nullptr if the cast is illegal, use cast<> instead which will assert that the cast is correct.

Fixes static analyser warnings.
parent 1e770f03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment