This commit is contained in:
Dmitry Stogov 2023-07-04 12:19:24 +03:00
parent c52fa3e6e0
commit ea7b921f1b

View File

@ -208,8 +208,6 @@ bool ir_check(const ir_ctx *ctx)
/* pass (function returns void) */
} else if (insn->op == IR_BEGIN && j == 1) {
/* pass (start of unreachable basic block) */
// } else if (insn->op == IR_LOOP_BEGIN || insn->op == IR_MERGE) {
// /* TODO: something wrong ??? */
} else if (IR_OPND_KIND(flags, j) != IR_OPND_CONTROL_REF
&& (insn->op != IR_SNAPSHOT || j == 1)) {
fprintf(stderr, "ir_base[%d].ops[%d] missing reference (%d)\n", i, j, use);