mirror of git://gcc.gnu.org/git/gcc.git
nvptx.c (nvptx_function_arg_advance): Don't consider mode.
* config/nvptx/nvptx.c (nvptx_function_arg_advance): Don't consider mode. From-SVN: r231121
This commit is contained in:
parent
0b2a137802
commit
ac8560785f
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-12-01 Nathan Sidwell <nathan@acm.org>
|
||||||
|
|
||||||
|
* config/nvptx/nvptx.c (nvptx_function_arg_advance): Don't
|
||||||
|
consider mode.
|
||||||
|
|
||||||
2015-12-01 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
2015-12-01 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
||||||
|
|
||||||
* config/rs6000/rs6000.c (const_load_sequence_p): Handle extra
|
* config/rs6000/rs6000.c (const_load_sequence_p): Handle extra
|
||||||
|
|
|
||||||
|
|
@ -975,15 +975,13 @@ nvptx_function_incoming_arg (cumulative_args_t cum_v, machine_mode mode,
|
||||||
/* Implement TARGET_FUNCTION_ARG_ADVANCE. */
|
/* Implement TARGET_FUNCTION_ARG_ADVANCE. */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvptx_function_arg_advance (cumulative_args_t cum_v, machine_mode mode,
|
nvptx_function_arg_advance (cumulative_args_t cum_v,
|
||||||
const_tree type ATTRIBUTE_UNUSED,
|
machine_mode ARG_UNUSED (mode),
|
||||||
bool named ATTRIBUTE_UNUSED)
|
const_tree ARG_UNUSED (type),
|
||||||
|
bool ARG_UNUSED (named))
|
||||||
{
|
{
|
||||||
CUMULATIVE_ARGS *cum = get_cumulative_args (cum_v);
|
CUMULATIVE_ARGS *cum = get_cumulative_args (cum_v);
|
||||||
if (mode == TImode)
|
cum->count++;
|
||||||
cum->count += 2;
|
|
||||||
else
|
|
||||||
cum->count++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle the TARGET_STRICT_ARGUMENT_NAMING target hook.
|
/* Handle the TARGET_STRICT_ARGUMENT_NAMING target hook.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue