This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GCC RFC]Expensive internal function calls.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Fri, 18 Aug 2017 11:23:56 +0200
- Subject: Re: [GCC RFC]Expensive internal function calls.
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR0801MB27467AF27A4785673DB0B885E7800@HE1PR0801MB2746.eurprd08.prod.outlook.com>
On Fri, Aug 18, 2017 at 10:45 AM, Bin Cheng <Bin.Cheng@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.cheng@arm.com>
>
> * gimple.c (gimple_inexpensive_call_p): Consider IFN_LOOP_DIST_ALIAS
> and IFN_LOOP_VECTORIZED as expensive calls.