| ... | ... | @@ -24561,10 +24561,14 @@ static IrInstruction *ir_analyze_instruction_bit_cast_src(IrAnalyze *ira, IrInst |
| 24561 | 24561 | |
| 24562 | 24562 | IrInstruction *result_loc = ir_resolve_result(ira, &instruction->base, |
| 24563 | 24563 | &instruction->result_loc_bit_cast->base, operand->value.type, operand, false, false, true); |
| 24564 | | if (result_loc != nullptr && !(type_is_invalid(result_loc->value.type) || instr_is_unreachable(result_loc))) |
| 24564 | if (result_loc != nullptr && (type_is_invalid(result_loc->value.type) || instr_is_unreachable(result_loc))) |
| 24565 | 24565 | return result_loc; |
| 24566 | 24566 | |
| 24567 | | return instruction->result_loc_bit_cast->parent->gen_instruction; |
| 24567 | if (instruction->result_loc_bit_cast->parent->gen_instruction != nullptr) { |
| 24568 | return instruction->result_loc_bit_cast->parent->gen_instruction; |
| 24569 | } |
| 24570 | |
| 24571 | return result_loc; |
| 24568 | 24572 | } |
| 24569 | 24573 | |
| 24570 | 24574 | static IrInstruction *ir_analyze_instruction_union_init_named_field(IrAnalyze *ira, |