mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Update IR
IR commit: 4f02f1bdc5b4312b862e5e399fe9fb1cfe149d0f
This commit is contained in:
parent
c9a4abadcc
commit
718cff9bbb
@ -662,7 +662,7 @@ int ir_build_dominators_tree(ir_ctx *ctx)
|
|||||||
uint32_t idom = *p;
|
uint32_t idom = *p;
|
||||||
ir_block *idom_bb;
|
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. */
|
/* In rare cases, LOOP_BEGIN.op1 may be a back-edge. Skip back-edges. */
|
||||||
ctx->flags2 &= ~IR_NO_LOOPS;
|
ctx->flags2 &= ~IR_NO_LOOPS;
|
||||||
IR_ASSERT(k > 1 && "Wrong blocks order: BB is before its single predecessor");
|
IR_ASSERT(k > 1 && "Wrong blocks order: BB is before its single predecessor");
|
||||||
|
Loading…
Reference in New Issue
Block a user