summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 22:11:14 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 22:11:14 +0000
commit40256f4a89cffbff2e1ca6ce96945e6e80e139a1 (patch)
tree7272a49f1cbf9d9cb1aace024bdd6f07a6145473 /gcc/tree-ssa-sccvn.c
parentf86b386b83bc3b0314448afba225afe88db90f31 (diff)
downloadgcc-40256f4a89cffbff2e1ca6ce96945e6e80e139a1.tar.gz
2007-07-04 Daniel Berlin <dberlin@dberlin.org>
PR tree-optimization/32604 PR tree-optimization/32606 * tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads. (compute_antic_safe): Removed. (ANTIC_SAFE_LOADS): Ditto. (compute_antic_aux): Don't print ANTIC_SAFE_LOADS. (execute_pre): Don't call compute_antic_safe. (vuse_equiv): New function. (make_values_for_stmt): Use it * tree-ssa-sccvn.c (set_ssa_val_to): Remove assert, since it is not always true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
-rw-r--r--gcc/tree-ssa-sccvn.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c
index 0f0822984c3..9036e2ed6f9 100644
--- a/gcc/tree-ssa-sccvn.c
+++ b/gcc/tree-ssa-sccvn.c
@@ -1017,14 +1017,6 @@ set_ssa_val_to (tree from, tree to)
tree currval;
gcc_assert (to != NULL);
- /* Make sure we don't create chains of copies, so that we get the
- best value numbering. visit_copy has code to make sure this doesn't
- happen, we are doing this here to assert that nothing else breaks
- this. */
- gcc_assert (TREE_CODE (to) != SSA_NAME
- || TREE_CODE (SSA_VAL (to)) != SSA_NAME
- || SSA_VAL (to) == to
- || to == from);
/* The only thing we allow as value numbers are ssa_names and
invariants. So assert that here. */
gcc_assert (TREE_CODE (to) == SSA_NAME || is_gimple_min_invariant (to));