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: Jan Hubicka <hubicka at ucw dot cz>
- To: marxin <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, mjambor at suse dot cz
- Date: Thu, 7 Jun 2018 14:06:04 +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>
>
> 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 :)
Honza