Commit 8e774944 by Kazu Hirata Committed by Kazu Hirata

* tree-vrp.c (maybe_add_assert_expr): Move a comment.

From-SVN: r97973
parent edc2eb9e
2005-04-11 Kazu Hirata <kazu@cs.umass.edu>
* tree-vrp.c (maybe_add_assert_expr): Move a comment.
2005-04-11 Diego Novillo <dnovillo@redhat.com> 2005-04-11 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/20920 PR tree-optimization/20920
......
...@@ -1503,11 +1503,6 @@ maybe_add_assert_expr (basic_block bb) ...@@ -1503,11 +1503,6 @@ maybe_add_assert_expr (basic_block bb)
cond = COND_EXPR_COND (last); cond = COND_EXPR_COND (last);
/* Remove the COND_EXPR operand from the FOUND bitmap.
Otherwise, when we finish traversing each of the sub-graphs,
we won't know whether the variables were found in the
sub-graphs or if they had been found in a block upstream from
BB. */
op = USE_OP (uses, 0); op = USE_OP (uses, 0);
/* Do not attempt to infer anything in names that flow through /* Do not attempt to infer anything in names that flow through
...@@ -1515,6 +1510,11 @@ maybe_add_assert_expr (basic_block bb) ...@@ -1515,6 +1510,11 @@ maybe_add_assert_expr (basic_block bb)
if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op)) if (SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op))
return false; return false;
/* Remove the COND_EXPR operand from the FOUND bitmap.
Otherwise, when we finish traversing each of the sub-graphs,
we won't know whether the variables were found in the
sub-graphs or if they had been found in a block upstream from
BB. */
RESET_BIT (found, SSA_NAME_VERSION (op)); RESET_BIT (found, SSA_NAME_VERSION (op));
/* Look for uses of the operands in each of the sub-graphs /* Look for uses of the operands in each of the sub-graphs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment