diff options
author | Tom de Vries <tdevries@suse.de> | 2018-12-19 10:16:41 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2018-12-19 10:16:41 +0000 |
commit | 43be05f54315b889662bb4f8c085cce301a03862 (patch) | |
tree | 7a393820a831d95da5b428b74fb288ac1d00c2c4 /gcc/loop-unroll.c | |
parent | 5a8d95cc43f3ff425fa58bf4025a8527320fb46c (diff) | |
download | gcc-43be05f54315b889662bb4f8c085cce301a03862.zip gcc-43be05f54315b889662bb4f8c085cce301a03862.tar.gz gcc-43be05f54315b889662bb4f8c085cce301a03862.tar.bz2 |
[nvptx] Use TARGET_SET_CURRENT_FUNCTION
Implement TARGET_SET_CURRENT_FUNCTION for nvptx. This gives us a place to
add initialization or reset actions that need to be executed on a per-function
basis.
Build and reg-tested on x86_64 with nvptx accelerator.
2018-12-19 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (nvptx_previous_fndecl): Declare.
(nvptx_set_current_function): New function.
(TARGET_SET_CURRENT_FUNCTION): Define.
From-SVN: r267256
Diffstat (limited to 'gcc/loop-unroll.c')
0 files changed, 0 insertions, 0 deletions