This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 04/14] Add {symbol,call}_summary::get method and use it in HSA.
- From: Martin Jambor <mjambor at suse dot cz>
- To: Jan Hubicka <hubicka at ucw dot cz>, marxin <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Cc:
- Date: Thu, 07 Jun 2018 14:37:35 +0200
- Subject: Re: [PATCH 04/14] Add {symbol,call}_summary::get method and use it in HSA.
- References: <cover.1526551813.git.mliska@suse.cz> <7c009cef6fc77f30fc0d65c3e45f47bbdbbfefd3.1526551813.git.mliska@suse.cz> <20180607120604.GA31751@atrey.karlin.mff.cuni.cz>
On Thu, Jun 07 2018, Jan Hubicka wrote:
>>
>> gcc/ChangeLog:
>>
>> 2018-04-24 Martin Liska <mliska@suse.cz>
>>
>> * hsa-common.h (enum hsa_function_kind): Rename HSA_NONE to
>> HSA_INVALID.
>> (hsa_function_summary::hsa_function_summary): Use the new enum
>> value.
>> (hsa_gpu_implementation_p): Use hsa_summaries::get.
>> * hsa-gen.c (hsa_get_host_function): Likewise.
>> (get_brig_function_name): Likewise.
>> * ipa-hsa.c (process_hsa_functions): Likewise.
>> (ipa_hsa_write_summary): Likewise.
>> * symbol-summary.h (symtab_duplication): Use ::get function/
>> (get): New function.
>
> OK if Martin (Jambor) is happy with HSA changes :)
>
I assume this is the version which I have tested for Martin (and which
passed all tests). So OK from me too.
Thanks,
Martin