nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.
authorNathan Sidwell <nathan@gcc.gnu.org>
Wed, 16 Dec 2015 20:02:02 +0000 (20:02 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 16 Dec 2015 20:02:02 +0000 (20:02 +0000)
commit5563d5c09aa1e73cc3b263a29f61f60b2665505c
tree1916f8f611073ba7c7aef78a028a77abab1de808
parent7ee2e7f6ef380e9ae9b95712b3b39fa35ae0e333
nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.

* config/nvptx/nvptx.h (OUTGOING_STATIC_CHAIN_REGNUM): Remove.
(REGISTER_NAMES): Adjust.
* config/nvptx/nvptx.c (nvptx_pass_by_reference): Avoid long line.
(nvptx_static_hain): Delete.
(write_arg_mode): Don't emit initializer if argno < 0.
(write_arg_type): Fix whitespace.
(init_frame): Initialize reg to zero if frame is zero-sized.
(nvptx_declare_function_name):  Use write_arg_type to emit chain
decl.
(nvptx_output_call_insn): Adjust static chain emission.
(nvptx_goacc_reduction): Make static.
(TARGET_STATIC_CHAIN): Don't override.

From-SVN: r231718
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.h