On Tue, Apr 18, 2017 at 12:52 PM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > Given only integer variables are meaningful for register pressure estimation > in IVOPTs, > this patch skips non-integer type PHIs when counting register pressure. > Is it OK?
Huh. I suppose it only makes a difference because you are ignoring POINTER_TYPE_P IVs? At least I would be surprised if get_iv returns true for float or vector PHIs (yeah, see early out in get_iv)? So why exclude POINTER_TYPE_P IVs? Richard. > Thanks, > bin > > 2017-04-11 Bin Cheng <bin.ch...@arm.com> > > * tree-ssa-loop-ivopts.c (determine_set_costs): Skip non-interger > when counting register pressure. >