[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2024-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #34 from Andrew Pinski --- (In reply to Andrew Pinski from comment #22) > Without load/store handling, here are the following optimizations that > either can move to match.pd already or need some extra work to do it: > > *

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2024-04-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #33 from Andrew Pinski --- (In reply to Marc Glisse from comment #6) > I assume it would help with this? Note that was fixed outside of phiopt in GCC 11 by r11-6609-g13d47c37a2c043 (PR 95731).

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #32 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2004-June/140297.html for reference where the original idea came from.

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added Keywords|patch | --- Comment #31 from Andrew Pinski

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-04-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added Attachment #54821|0 |1 is obsolete|

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #29 from Andrew Pinski --- (In reply to Andrew Pinski from comment #28) > Created attachment 54821 [details] > New set of patches including some other improvements Note this series does not bootstrap, the last patch found that I had

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-04-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added Attachment #54813|0 |1 is obsolete|

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2023-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added Attachment #40185|0 |1 is obsolete|

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2022-11-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #26 from Andrew Pinski --- (In reply to Andrew Pinski from comment #25) > The minmax is recorded as PR 101024. There is some more improvements to > gimple_simplify_phiopt needed for early_p as the way min/max patterns are >

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-07-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #25 from Andrew Pinski --- (In reply to Andrew Pinski from comment #22) So an update on this > * abs_replacement: needs PROP_gimple_lswitch so we don't change if > statements early enough > ** I think majority of the abs handling is

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #24 from Andrew Pinski --- Next patch series can be found here which removes abs_replacement: https://gcc.gnu.org/pipermail/gcc-patches/2021-June/573558.html

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-09 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #23 from rguenther at suse dot de --- On Tue, 8 Jun 2021, pinskia at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 > > --- Comment #22 from Andrew Pinski --- > * minmax_replacement: has some handling

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #22 from Andrew Pinski --- Without load/store handling, here are the following optimizations that either can move to match.pd already or need some extra work to do it: * value_replacement: need to handle

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #21 from Andrew Pinski --- Note this is not fully fixed, there is still some more work to do to deal with the non single_non_singleton_phi_for_edges case which will allow to get rid of value_replacement. Note to get rid of early_p

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #20 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:c4574d23cb07340918793a5a98ae7bb2988b3791 commit r12-1309-gc4574d23cb07340918793a5a98ae7bb2988b3791 Author: Andrew Pinski Date:

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Andrew Pinski changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #18 from Andrew Pinski --- (In reply to CVS Commits from comment #17) Note this is the only start of the patches, this is not fully fixed, it is being worked on in a series of patches rather than one big one.

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #17 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:9f55df63154a39d67ef5b24def7044bf87300831 commit r12-1152-g9f55df63154a39d67ef5b24def7044bf87300831 Author: Andrew Pinski Date:

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-05-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #16 from Andrew Pinski --- I Have a new patch though I need to remove some code still.

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2021-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 Bug 25290 depends on bug 100609, which changed state. Bug 100609 Summary: bool - 1 is not simplified to -a https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100609 What|Removed |Added

[Bug tree-optimization/25290] PHI-OPT could be rewritten so that is uses match

2020-02-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 --- Comment #15 from Andrew Pinski --- (In reply to rguent...@suse.de from comment #13) > On February 21, 2018 2:13:22 PM GMT+01:00, "egallager at gcc dot gnu.org" > wrote: > >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25290 > > > >Eric