nvptx.h (RETURN_ADDR_REGNO): Delete.
authorNathan Sidwell <nathan@acm.org>
Fri, 11 Dec 2015 18:06:37 +0000 (18:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 11 Dec 2015 18:06:37 +0000 (18:06 +0000)
commitb49e35a94a6427541e3beb197426d74ee005b43c
tree7d9fc1f351751a7d18e6329667c64e619aa346b1
parent2515981da02db8ce6c7f8378dbed3f0c52085714
nvptx.h (RETURN_ADDR_REGNO): Delete.

* config/nvptx/nvptx.h (RETURN_ADDR_REGNO): Delete.
(OUTGOING_ARG_POINTER_REGNUM): Delete.
(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
(REGISTER_NAMES): Name static chain regs.
* config/nvptx/nvptx.c (nvptx_function_arg): Add ARG_UNUSED, merge
ifs.
(nvptx_incoming_arg): Merge ifs.
(nvptx_function_arg_boundary): Reimplement to avoid mixing units.
(nvptx_function_value): Tail call nvptx_libcall_value.
(nvptx_pass_by_reference): Add ARG_UNUSED.
(nvptx_static_chain): Use conditional op.
(nvptx_handle_kernel_attribute): Use VOID_TYPE_P.

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