On Fri, Aug 18, 2017 at 10:45 AM, Bin Cheng <bin.ch...@arm.com> wrote: > Hi, > As a followup patch for fix to PR81832, this patch considers internal > function call to > IFN_LOOP_DIST_ALIAS and IFN_LOOP_VECTORIZED as expensive. Or interpreted > in another way: return false since we shouldn't be asked the question? Any > comments? > BTW, I have no problem to drop this if not appropriate.
I think as the meaning is to cost the actual call making it expensive is wrong given it will end up as constant. So, no, this doesn't look correct. Richard. > Thanks, > bin > 2017-08-16 Bin Cheng <bin.ch...@arm.com> > > * gimple.c (gimple_inexpensive_call_p): Consider IFN_LOOP_DIST_ALIAS > and IFN_LOOP_VECTORIZED as expensive calls.