r259523 - in /trunk: gcc/ChangeLog gcc/config/n...
vries@gcc.gnu.org
vries@gcc.gnu.org
Fri Apr 20 13:46:00 GMT 2018
Author: vries
Date: Fri Apr 20 13:46:07 2018
New Revision: 259523
URL: https://gcc.gnu.org/viewcvs?rev=259523&root=gcc&view=rev
Log:
[nvptx] Fix calls to vector and worker routines
2018-04-20 Nathan Sidwell <nathan@codesourcery.com>
Tom de Vries <tom@codesourcery.com>
PR target/85445
* config/nvptx/nvptx.c (nvptx_emit_forking, nvptx_emit_joining):
Emit insns for calls too.
(nvptx_find_par): Always look for worker-level predecessor insn.
(nvptx_propagate): Add is_call parm, return bool. Copy frame for
calls.
(nvptx_vpropagate, nvptx_wpropagate): Adjust.
(nvptx_process_pars): Propagate frames for calls.
* testsuite/libgomp.oacc-c++/ref-1.C: New.
Added:
trunk/libgomp/testsuite/libgomp.oacc-c++/ref-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nvptx/nvptx.c
trunk/libgomp/ChangeLog
More information about the Gcc-cvs
mailing list