| ... | ... | @@ -5128,7 +5128,7 @@ static LLVMValueRef ir_render_memset(CodeGen *g, IrExecutable *executable, IrIns |
| 5128 | 5128 | |
| 5129 | 5129 | bool val_is_undef = value_is_all_undef(g, &instruction->byte->value); |
| 5130 | 5130 | LLVMValueRef fill_char; |
| 5131 | | if (val_is_undef) { |
| 5131 | if (val_is_undef && ir_want_runtime_safety_scope(g, instruction->base.scope)) { |
| 5132 | 5132 | fill_char = LLVMConstInt(LLVMInt8Type(), 0xaa, false); |
| 5133 | 5133 | } else { |
| 5134 | 5134 | fill_char = ir_llvm_value(g, instruction->byte); |