diff options
author | Richard Guenther <rguenther@suse.de> | 2009-04-06 14:55:31 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-04-06 14:55:31 +0000 |
commit | 439ef907aeff88f1ca7c19bca5d24810a7500796 (patch) | |
tree | a9c105e503475558e3ac3923c722ae7cafcc529a /gcc/c-parser.c | |
parent | 1ae3576fa412634f1a4d8dcfe949531b8e7990da (diff) | |
download | gcc-439ef907aeff88f1ca7c19bca5d24810a7500796.zip gcc-439ef907aeff88f1ca7c19bca5d24810a7500796.tar.gz gcc-439ef907aeff88f1ca7c19bca5d24810a7500796.tar.bz2 |
re PR tree-optimization/28868 (Not eliminating the PHIs which have the same arguments)
2009-04-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/28868
* tree-ssa-pre.c (inserted_phi_names): New bitmap to keep track
of which PHI results we inserted.
(insert_into_preds_of_block): Record inserted PHIs.
(eliminate): Eliminate redundant PHI nodes.
(init_pre): Init inserted_phi_names.
* gcc.dg/tree-ssa/ssa-fre-21.c: New testcase.
* gcc.dg/tree-ssa/ssa-sccvn-1.c: Adjust.
* gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise.
* gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise.
From-SVN: r145607
Diffstat (limited to 'gcc/c-parser.c')
0 files changed, 0 insertions, 0 deletions