Commit 08d93024 by Kazu Hirata Committed by Kazu Hirata

tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" statement that never triggers.

	* tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
	statement that never triggers.

From-SVN: r90176
parent 03e9b849
2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
* tree-cfg.c (find_taken_edge_cond_expr): Remove an "if"
statement that never triggers.
2004-11-06 Ulrich Weigand <uweigand@de.ibm.com> 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/2064.md ("z_o2", "z_o3"): Remove. * config/s390/2064.md ("z_o2", "z_o3"): Remove.
......
...@@ -1987,11 +1987,6 @@ find_taken_edge_cond_expr (basic_block bb, tree val) ...@@ -1987,11 +1987,6 @@ find_taken_edge_cond_expr (basic_block bb, tree val)
extract_true_false_edges_from_block (bb, &true_edge, &false_edge); extract_true_false_edges_from_block (bb, &true_edge, &false_edge);
/* If both edges of the branch lead to the same basic block, it doesn't
matter which edge is taken. */
if (true_edge->dest == false_edge->dest)
return true_edge;
/* Otherwise, try to determine which branch of the if() will be taken. /* Otherwise, try to determine which branch of the if() will be taken.
If VAL is a constant but it can't be reduced to a 0 or a 1, then If VAL is a constant but it can't be reduced to a 0 or a 1, then
we don't really know which edge will be taken at runtime. This we don't really know which edge will be taken at runtime. This
......
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