[PATCH 0/4] Fix PR tree-opt/102703

apinski@marvell.com apinski@marvell.com
Tue Oct 19 04:54:00 GMT 2021


From: Andrew Pinski <apinski@marvell.com>

This patch series fixes PR tree-opt/102703 by
improving the code which will delete write only stores to also
delete the phi node (if it was a phi node) that was used to define
the write.
We need to some factoring out of the code to make it easier
to understand and less indention.

Andrew Pinski (4):
  Add dump prints when execute_fixup_cfg removes a write only var store.
  Remove outdated comment about execute_fixup_cfg
  Factor out removal of write only stores from execute_fixup_cfg
  Improve maybe_remove_writeonly_store to do a simple DCE for defining
    statement

 gcc/tree-cfg.c | 95 ++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 73 insertions(+), 22 deletions(-)

-- 
2.17.1



More information about the Gcc-patches mailing list