On Tue, Apr 18, 2017 at 12:51 PM, Bin Cheng <bin.ch...@arm.com> wrote:
> Hi,
> At the moment, inv_vars are recognized during finding iv_uses.  It's also
> possible that inv_vars are used when expressing iv_use with specific cand.
> Unfortunately, such inv_vars are neither recognized nor considered in reg
> pressure estimation.  This patch modifies find_inv_vars_cb so that such
> invariant variables are also recognized and recorded.  The patch also moves
> dump information later so that all invariant variables can be dumped.
> Is it OK?

Ok.

Richard.

> Thanks
> bin
> 2017-04-11  Bin Cheng  <bin.ch...@arm.com>
>
>         * tree-ssa-loop-ivopts.c (find_interesting_uses): Move inv vars dump
>         to ...
>         (determine_group_iv_costs): ... here.
>         (find_inv_vars_cb): Record inv var if it's not recorded before.

Reply via email to