diff options
author | Richard Guenther <rguenther@suse.de> | 2008-08-21 15:18:58 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-08-21 15:18:58 +0000 |
commit | 1e52075c544a9808b4b370ef974c198f3bb639b5 (patch) | |
tree | d081e2983bcdcea812e826d40060ea64e94eb58a /gcc/tree-ssa-sccvn.c | |
parent | 729edaa1bb60f7bffea3ed7e701373d6f37af8b0 (diff) | |
download | gcc-1e52075c544a9808b4b370ef974c198f3bb639b5.zip gcc-1e52075c544a9808b4b370ef974c198f3bb639b5.tar.gz gcc-1e52075c544a9808b4b370ef974c198f3bb639b5.tar.bz2 |
tree-ssa-pre.c (insert_into_preds_of_block): Before inserting a PHI ask VN if it is already available.
2008-08-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
a PHI ask VN if it is already available.
* tree-ssa-sccvn.h (vn_phi_lookup): Declare.
* tree-ssa-sccvn.c (vn_phi_lookup): Export.
From-SVN: r139388
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
-rw-r--r-- | gcc/tree-ssa-sccvn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 26a65f1..0b995d6 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -1458,7 +1458,7 @@ static VEC(tree, heap) *shared_lookup_phiargs; value number if it exists in the hash table. Return NULL_TREE if it does not exist in the hash table. */ -static tree +tree vn_phi_lookup (gimple phi) { void **slot; |