Extra checks to reduce mem.zero calls

This commit is contained in:
gingerBill
2019-02-06 13:47:52 +00:00
parent 0133dd9034
commit bc5c37ebb1
2 changed files with 11 additions and 7 deletions

View File

@@ -1109,7 +1109,7 @@ void ir_print_instr(irFileBuffer *f, irModule *m, irValue *value) {
ir_print_exact_value(f, m, empty_exact_value, type);
ir_write_str_lit(f, ", ");
ir_print_type(f, m, type);
ir_fprintf(f, "* %%%d", instr->ZeroInit.address->index);
ir_fprintf(f, "* %%%d, align 1", instr->ZeroInit.address->index);
break;
}