On Fri, Oct 9, 2020 at 8:01 PM Jojo R <jiejie_r...@c-sky.com> wrote:
>
> Hi,
>
>         Is there any API or common codes to check any two blocks is reachable 
> ?

Yes the API in dominance.h.
Depending on where you use it, you might need to have it created.
Using calculate_dominance_info function.
The function to do the check is dominated_by_p.

Thanks,
Andrew Pinski


>
> Thanks.
>
> Jojo

Reply via email to