| ... | ... | @@ -5583,8 +5583,12 @@ static LLVMValueRef ir_render_memset(CodeGen *g, IrExecutableGen *executable, Ir |
| 5583 | 5583 | |
| 5584 | 5584 | bool val_is_undef = value_is_all_undef(g, instruction->byte->value); |
| 5585 | 5585 | LLVMValueRef fill_char; |
| 5586 | | if (val_is_undef && ir_want_runtime_safety_scope(g, instruction->base.base.scope)) { |
| 5587 | | fill_char = LLVMConstInt(LLVMInt8Type(), 0xaa, false); |
| 5586 | if (val_is_undef) { |
| 5587 | if (ir_want_runtime_safety_scope(g, instruction->base.base.scope)) { |
| 5588 | fill_char = LLVMConstInt(LLVMInt8Type(), 0xaa, false); |
| 5589 | } else { |
| 5590 | return nullptr; |
| 5591 | } |
| 5588 | 5592 | } else { |
| 5589 | 5593 | fill_char = ir_llvm_value(g, instruction->byte); |
| 5590 | 5594 | } |