HSA: simplify partitioning of HSA kernels and host impls.
commit874e154a03c28934ac2348aa75059a89167f1ff2
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jan 2016 12:50:05 +0000 (27 12:50 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Jan 2016 12:50:05 +0000 (27 12:50 +0000)
tree0ddc7a7d882a6be038b8f16263950f039fbb714c
parent220112fc6021e26bfbc2266d582743d97dae711a
HSA: simplify partitioning of HSA kernels and host impls.

* lto-partition.c (add_symbol_to_partition_1): Remove usage
of hsa_summaries.
* hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
reference for an HSA kernel and its host function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232871 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/hsa.c
gcc/lto/ChangeLog
gcc/lto/lto-partition.c