[hsa] Fix hsa function cloning test
authorMartin Jambor <mjambor@suse.cz>
Wed, 11 Jan 2017 10:35:31 +0000 (11:35 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 11 Jan 2017 10:35:31 +0000 (11:35 +0100)
commit51020892466d37f71ee13137bdadcbb32545c55d
treef2d05c5ca8dd4a860cc74dd72658a92146d66d22
parent80c74722bc934e376b06fa2e59925cb134202266
[hsa] Fix hsa function cloning test

2017-01-11  Martin Jambor  <mjambor@suse.cz>

* hsa.c (hsa_callable_function_p): Revert addition of DECL_ARTIFICIAL
test.
* ipa-hsa.c (process_hsa_functions): Only duplicate non-artificial
decorated functions.

From-SVN: r244308
gcc/ChangeLog
gcc/hsa.c
gcc/ipa-hsa.c