[php-src] master: Fix GH-25037: Function JIT ENTRY live var assertion

From: Date: Sun, 08 Nov 2026 10:32:56 +0000
Subject: [php-src] master: Fix GH-25037: Function JIT ENTRY live var assertion
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143421@lists.php.net to get a copy of this message
Author: ndossche (ndossche) Date: 2026-11-08T11:29:08+01:00 Commit: https://github.com/php/php-src/commit/a4c01896fd8d926e1bc39c5574b7d0b4eab1c07d Raw diff: https://github.com/php/php-src/commit/a4c01896fd8d926e1bc39c5574b7d0b4eab1c07d.diff Fix GH-25037: Function JIT ENTRY live var assertion IR: Backport fix for loop-invariant hoisting across external entries. Mark loops reached from an ENTRY that bypasses their immediate dominator with IR_BB_LOOP_WITH_ENTRY_IN_PREDS, so GCM cannot hoist unbound invariants across those entries. Cherry-picks https://github.com/dstogov/ir/commit/a38079ef81c2b37c1acba090d600c38855139323 adapted to the older IR in this branch: the check is placed in the sorted_blocks loop of ir_find_loops(). Fixes GH-25037 Closes GH-25193. Changed paths: A ext/opcache/tests/jit/gh25037.phpt M NEWS M ext/opcache/jit/ir/ir_cfg.c M ext/opcache/jit/ir/ir_gcm.c M ext/opcache/jit/ir/ir_private.h Diff:

« previous php.cvs (#143421) next »