case LLVMArgVtypeAsScalar:
/* LLVM models this by returning an int */
g_assert (cinfo->ret.nslots == 1 || cinfo->ret.nslots == 2);
- ret_type = LLVMIntType (cinfo->ret.nslots * sizeof (mgreg_t));
+ ret_type = LLVMIntType (cinfo->ret.nslots * sizeof (mgreg_t) * 8);
break;
case LLVMArgFpStruct: {
/* Vtype returned as a fp struct */