From 8c331e3264224bb70cc22c04a1cc8ba3557d4580 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 4 Jul 2023 18:22:15 +0300 Subject: [PATCH] typo --- ir_gcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir_gcm.c b/ir_gcm.c index 9967a45..f1758aa 100644 --- a/ir_gcm.c +++ b/ir_gcm.c @@ -119,7 +119,7 @@ static void ir_gcm_schedule_late(ir_ctx *ctx, uint32_t *_blocks, ir_bitset visit lca = !lca ? b : ir_gcm_find_lca(ctx, lca, b); } } - IR_ASSERT(lca != 0 && "No Common Antecessor"); + IR_ASSERT(lca != 0 && "No Common Ancestor"); b = lca; if (b != _blocks[ref]) { @@ -215,7 +215,7 @@ static void ir_gcm_schedule_rest(ir_ctx *ctx, uint32_t *_blocks, ir_bitset visit lca = !lca ? b : ir_gcm_find_lca(ctx, lca, b); } } - IR_ASSERT(lca != 0 && "No Common Antecessor"); + IR_ASSERT(lca != 0 && "No Common Ancestor"); b = lca; _blocks[ref] = b; if (ctx->ir_base[ref + 1].op == IR_OVERFLOW) {