History log of /php-src/Zend/Optimizer/dfa_pass.c (Results 26 – 50 of 56)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 51ae5c53 24-Nov-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix bug #81652


Revision tags: php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6
# e506564e 08-Nov-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Drop pi nodes for both old/new pred in replace_predecessor


# e5c2ad45 08-Nov-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Drop pi nodes for both old/new pred in replace_predecessor


Revision tags: php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12
# 564d5419 18-Oct-2021 Dmitry Stogov

Merge branch 'PHP-8.1'

* PHP-8.1:
Fixed incorrect optimization that may cause JIT assertion


# bdebefaa 18-Oct-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fixed incorrect optimization that may cause JIT assertion


Revision tags: php-8.1.0RC4
# a00446ca 12-Oct-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Don't replace tmp with cv in YIELD argument


# 9c1d7b43 12-Oct-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Don't replace tmp with cv in YIELD argument


Revision tags: php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3
# c19977d0 27-Sep-2021 Nikita Popov

Fix delayed early binding with optimization

It's possible for delayed early binding opcodes to get optimized
away if they are "unreachable". However, we still need to attempt
early b

Fix delayed early binding with optimization

It's possible for delayed early binding opcodes to get optimized
away if they are "unreachable". However, we still need to attempt
early binding for them. (In some cases we also corrupt the early
binding list outright during optimization, which is how I got here.)

Fix this by storing information about delayed early binding
independently of DECLARE_CLASS_DELAYED opcodes, so early binding is
performed even after the opcode has been dropped.

show more ...

# 78bd1382 27-Sep-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Handle pi nodes in replace_predecessor


# d5e80c1c 27-Sep-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Handle pi nodes in replace_predecessor


Revision tags: php-8.0.11
# 7e565daa 21-Sep-2021 Nikita Popov

Fix incorrect use chain unlink

This issue has been introduced in 87ea3c1f4c174b8d66af9d42e8387a2016c21c54,
where an || has been misinterpreted as an &&.

Revision tags: php-7.4.24, php-7.3.31
# 44bc9556 20-Sep-2021 George Peter Banyard

Check against FAILURE instead of different then SUCCESS

# 87ea3c1f 20-Sep-2021 George Peter Banyard

Voidify zend_ssa_unlink_use_chain()

It always returned 1 or threw an assertion failure

Also drop else branch by moving it to the main scope

# 35dfdd9b 20-Sep-2021 George Peter Banyard

Voidify zend_ssa_compute_use_def_chains()

It always returned SUCCESS

# 6c928f35 20-Sep-2021 George Peter Banyard

Voidify zend_ssa_find_false_dependencies()

It always returned SUCCESS

# ad3544b0 20-Sep-2021 George Peter Banyard

Voidify zend_ssa_find_sccs()

It always returned SUCCESS

# a06d6c36 20-Sep-2021 George Peter Banyard

Voidify zend_cfg_identify_loops()

It always returned SUCCESS

# 53c72bd6 20-Sep-2021 George Peter Banyard

Voidify zend_cfg_compute_dominators_tree()

It always returned SUCCESS

# 6a456644 20-Sep-2021 George Peter Banyard

Voidify zend_cfg_build_predecessors()

It always returned SUCCESS

# 50378666 20-Sep-2021 George Peter Banyard

Voidify zend_build_cfg()

It always returned SUCCESS

# 53d5420d 20-Sep-2021 George Peter Banyard

Use more appropriate types in Optimizer

Mainly using zend_result and bool instead of int

Revision tags: php-8.1.0RC2
# f6daf83e 09-Sep-2021 Nikita Popov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Check that POST_INC/DEC has use in DFA optimization


Revision tags: php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3
# 14c103d7 11-Aug-2021 Dmitry Stogov

Optimize "$x * 2" into "$x + $x"

Revision tags: php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3
# 069a9fa5 05-Jul-2021 George Peter Banyard

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>
Co-authored-by: Ilija Tovilo <ilutov@php.net>

show more ...

Revision tags: php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2
# a30fab57 18-Jun-2021 Nikita Popov

Make can_elide_return_type_check() more robust

Rather than using def_info, check against the actual arg_info type.
As it is stored as a type mask nowadays, this is not much harder,
b

Make can_elide_return_type_check() more robust

Rather than using def_info, check against the actual arg_info type.
As it is stored as a type mask nowadays, this is not much harder,
but more general and more robust as we don't need to deal with
inaccurate cases.

show more ...

123