nvptx.c (maybe_split_mode): Return new mode or VOIDmode, don't alter incoming mode.
authorNathan Sidwell <nathan@acm.org>
Tue, 24 Nov 2015 20:15:44 +0000 (20:15 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Nov 2015 20:15:44 +0000 (20:15 +0000)
commitd74792629d41383f6ff4543aeed9bc6080d77809
tree78f53a2336813b3a97e6ecfd080e01be647df756
parentaea50b45f5db36d77d4cf8488dd98d8a06c073a8
nvptx.c (maybe_split_mode): Return new mode or VOIDmode, don't alter incoming mode.

* config/nvptx/nvptx.c (maybe_split_mode): Return new mode or
VOIDmode, don't alter incoming mode.
(nvptx_split_reg_p): Delete.
(write_one_arg, walk_args_for_param, nvptx_declare_function_name,
write_func_decl_from_insn, nvptx_output_call_insn): Adjust
maybe_split_mode calls.
(nvptx_print_operand): Use maybe_split_mode.

From-SVN: r230836
gcc/ChangeLog
gcc/config/nvptx/nvptx.c