This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH AutoFDO]Skip generating histogram value for internal call


Hi,
This patch skips generating histogram value for internal function call in autofdo,
otherwise it would trigger ICE with following patch re-enabling indirect call value
profile transformation.  I think this patch is actually needed for GCC-6 on which
indirect call value profile is not disabled.

Bootstrap and test on x86_64 along with following patches.  Is it OK?

Thanks,
bin

2018-12-13  Bin Cheng  <bin.cheng@linux.alibaba.com>

        * auto-profile.c (afdo_indirect_call): Skip generating histogram
        value for internal call.

Attachment: 0004-Don-t-generate-histogram-value-for-internal-call-in-.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]