gcc/ChangeLog:
* config/gcn/gcn.c (gcn_function_arg): Disallow vector arguments.
(gcn_return_in_memory): Return vectors in memory.
if (targetm.calls.must_pass_in_stack (arg))
return 0;
+ /* Vector parameters are not supported yet. */
+ if (VECTOR_MODE_P (arg.mode))
+ return 0;
+
int reg_num = FIRST_PARM_REG + cum->num;
int num_regs = num_arg_regs (arg);
if (num_regs > 0)
if (AGGREGATE_TYPE_P (type))
return true;
+ /* Vector return values are not supported yet. */
+ if (VECTOR_TYPE_P (type))
+ return true;
+
if (mode == BLKmode)
return true;