diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-03-08 00:40:33 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-03-07 16:40:33 -0800 |
commit | 80c4ed35948d670535776c6cf7dd909d9fe4feb1 (patch) | |
tree | 7ae22cec14c557ac1e465d45ea8bdddf4c1774dc /gcc/tree.h | |
parent | 64022b5db4e10421bb18b64aed8e67c15ac18cee (diff) | |
download | gcc-80c4ed35948d670535776c6cf7dd909d9fe4feb1.zip gcc-80c4ed35948d670535776c6cf7dd909d9fe4feb1.tar.gz gcc-80c4ed35948d670535776c6cf7dd909d9fe4feb1.tar.bz2 |
re PR tree-optimization/17671 (PHI-OPT is not smart enough)
2005-03-06 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17671
* tree-ssa-phiopt.c (tree_ssa_phiopt): Rewrite so we base the
bbs on the COND_EXPR instead of the PHI_NODEs.
(candidate_bb_for_phi_optimization): Remove.
(replace_phi_with_stmt): Rename to ...
(replace_phi_edge_with_variable): this and change so that we
replace the phi argument instead of removing the PHI.
(conditional_replacement): Change so we deal with PHI with more
than two arguments.
(value_replacement): Likewise.
(abs_replacement): Likewise.
2005-03-06 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17671
* gcc.dg/tree-ssa/phi-opt-[1-4].c: New tests.
From-SVN: r96067
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions