1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Update IR

IR commit: 4f02f1bdc5b4312b862e5e399fe9fb1cfe149d0f
This commit is contained in:
Dmitry Stogov
2024-09-17 21:24:01 +03:00
parent c9a4abadcc
commit 718cff9bbb

View File

@@ -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");