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

[GVN] hasUsersIn - merge isa<> and cast<> into single dyn_cast<> and convert...

[GVN] hasUsersIn - merge isa<> and cast<> into single dyn_cast<> and convert for-range loop to any_of() test. NFCI.

Avoid running isa<> and cast<> if we can - dyn_cast<> can more efficiently check for a safe cast and give the casted pointer.
parent 6efa850b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment