From 718cff9bbb0ae09805fe2441b7ff799ca070e898 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 17 Sep 2024 21:24:01 +0300 Subject: [PATCH] Update IR IR commit: 4f02f1bdc5b4312b862e5e399fe9fb1cfe149d0f --- ext/opcache/jit/ir/ir_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/ir/ir_cfg.c b/ext/opcache/jit/ir/ir_cfg.c index 2a26ec65412..ecb98ad6b50 100644 --- a/ext/opcache/jit/ir/ir_cfg.c +++ b/ext/opcache/jit/ir/ir_cfg.c @@ -662,7 +662,7 @@ int ir_build_dominators_tree(ir_ctx *ctx) uint32_t idom = *p; ir_block *idom_bb; - if (UNEXPECTED(idom > b)) { + if (UNEXPECTED(idom >= b)) { /* In rare cases, LOOP_BEGIN.op1 may be a back-edge. Skip back-edges. */ ctx->flags2 &= ~IR_NO_LOOPS; IR_ASSERT(k > 1 && "Wrong blocks order: BB is before its single predecessor");