[php-src] PR #25178: ext/opcache: Fix GH-25164 loop liveness across calls
| From: | iliaal | Date: | Tue, 03 Nov 2026 18:35:39 +0000 |
| Subject: | [php-src] PR #25178: ext/opcache: Fix GH-25164 loop liveness across calls | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40274@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25178
Author: iliaal
zend_jit_may_be_in_reg() missed Phi uses in ENTRY blocks and loop-carried uses in the
definition block, leaving values in clobbered registers after user function calls. The walk now
covers both cases while preserving zero-length Pi intervals and following only the real incoming
edge for same-block Pi uses. Reproduced with the reporter's loop on PHP-8.4 debug builds.
#18392 addresses a separate EX(call) cache issue.
Fixes GH-25164