]> gcc.gnu.org Git - gcc.git/commit
PHIOPT: Split out store elimination from phiopt
authorAndrew Pinski <apinski@marvell.com>
Mon, 24 Apr 2023 16:28:25 +0000 (09:28 -0700)
committerAndrew Pinski <apinski@marvell.com>
Thu, 27 Apr 2023 15:00:24 +0000 (08:00 -0700)
commitb9fedabe381cce0b375383a746ab9fe983596bd9
treeb3dbc3621e43aa717ff72ba3503095f48271983b
parentb26ce75ef5498398f44641ed6ebef49ff65ba77b
PHIOPT: Split out store elimination from phiopt

Since the last cleanups, it made easier to see
that we should split out the store elimination
worker from tree_ssa_phiopt_worker function.

OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions.

gcc/ChangeLog:

* tree-ssa-phiopt.cc (tree_ssa_phiopt_worker): Remove
do_store_elim argument and split that part out to ...
(store_elim_worker): This new function.
(pass_cselim::execute): Call store_elim_worker.
(pass_phiopt::execute): Update call to tree_ssa_phiopt_worker.
gcc/tree-ssa-phiopt.cc
This page took 0.06101 seconds and 5 git commands to generate.