]> git.ipfire.org Git - thirdparty/gcc.git/commit
PHIOPT: Move tree_ssa_cs_elim into pass_cselim::execute.
authorAndrew Pinski <apinski@marvell.com>
Fri, 31 Mar 2023 00:00:20 +0000 (00:00 +0000)
committerAndrew Pinski <apinski@marvell.com>
Tue, 18 Apr 2023 19:42:59 +0000 (12:42 -0700)
commit6c11d30799ff3160729315d07c3df641c3ca9870
treea6ba96ebf598c34c068d8b646c1cd3e8937fd1cd
parent403779a7d659418079760ab9e0facefcc59f89ad
PHIOPT: Move tree_ssa_cs_elim into pass_cselim::execute.

This moves around the code for tree_ssa_cs_elim slightly
improving code readability and removing declarations that
are no longer needed.

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

gcc/ChangeLog:

* tree-ssa-phiopt.cc (tree_ssa_phiopt_worker): Remove declaration.
(make_pass_phiopt): Make execute out of line.
(tree_ssa_cs_elim): Move code into ...
(pass_cselim::execute): here.
gcc/tree-ssa-phiopt.cc