| ... | @@ -14959,9 +14959,9 @@ static IrInstruction *ir_analyze_bin_op_cmp_numeric(IrAnalyze *ira, IrInstructio | ... | @@ -14959,9 +14959,9 @@ static IrInstruction *ir_analyze_bin_op_cmp_numeric(IrAnalyze *ira, IrInstructio |
| 14959 | op2_bits += 1; | 14959 | op2_bits += 1; |
| 14960 | } | 14960 | } |
| 14961 | } | 14961 | } |
| 14962 | uint32_t dest_int_bits = (op1_bits > op2_bits) ? op1_bits : op2_bits; | | |
| 14963 | ZigType *dest_scalar_type = (dest_float_type == nullptr) ? | 14962 | ZigType *dest_scalar_type = (dest_float_type == nullptr) ? |
| 14964 | get_int_type(ira->codegen, dest_int_is_signed, dest_int_bits) : dest_float_type; | 14963 | get_int_type(ira->codegen, dest_int_is_signed, (op1_bits > op2_bits) ? op1_bits : op2_bits) : |
| | 14964 | dest_float_type; |
| 14965 | ZigType *dest_type = (result_type->id == ZigTypeIdVector) ? | 14965 | ZigType *dest_type = (result_type->id == ZigTypeIdVector) ? |
| 14966 | get_vector_type(ira->codegen, result_type->data.vector.len, dest_scalar_type) : dest_scalar_type; | 14966 | get_vector_type(ira->codegen, result_type->data.vector.len, dest_scalar_type) : dest_scalar_type; |
| 14967 | | 14967 | |