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.ch...@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

Reply via email to