Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/ir.cpp b/src/ir.cpp
- index 65a21a418..271c6b59d 100644
- --- a/src/ir.cpp
- +++ b/src/ir.cpp
- @@ -25445,7 +25445,7 @@ static IrInstruction *ir_analyze_instruction_bit_cast_src(IrAnalyze *ira, IrInst
- IrInstruction *result_loc = ir_resolve_result(ira, &instruction->base,
- &instruction->result_loc_bit_cast->base, operand->value.type, operand, false, false, true);
- - if (result_loc != nullptr && (type_is_invalid(result_loc->value.type) || instr_is_unreachable(result_loc)))
- + if (result_loc != nullptr && !(type_is_invalid(result_loc->value.type) || instr_is_unreachable(result_loc)))
- return result_loc;
- return instruction->result_loc_bit_cast->parent->gen_instruction;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement