Commit 92290a18 by Richard Guenther Committed by Richard Biener

re PR tree-optimization/53340 (rnflow.f90 is ~20% slower after revision 187092)

2012-05-14  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/53340
	* tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit.

From-SVN: r187457
parent 412a1d9e
2012-05-14 Richard Guenther <rguenther@suse.de> 2012-05-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53340
* tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit.
2012-05-14 Richard Guenther <rguenther@suse.de>
* gimplify.c (gimplify_expr): Remove odd code. * gimplify.c (gimplify_expr): Remove odd code.
2012-05-14 Eric Botcazou <ebotcazou@adacore.com> 2012-05-14 Eric Botcazou <ebotcazou@adacore.com>
......
...@@ -2007,8 +2007,8 @@ op_valid_in_sets (bitmap_set_t set1, bitmap_set_t set2, tree op) ...@@ -2007,8 +2007,8 @@ op_valid_in_sets (bitmap_set_t set1, bitmap_set_t set2, tree op)
if (op && TREE_CODE (op) == SSA_NAME) if (op && TREE_CODE (op) == SSA_NAME)
{ {
unsigned int value_id = VN_INFO (op)->value_id; unsigned int value_id = VN_INFO (op)->value_id;
if (!bitmap_set_contains_value (set1, value_id) if (!(bitmap_set_contains_value (set1, value_id)
|| (set2 && !bitmap_set_contains_value (set2, value_id))) || (set2 && bitmap_set_contains_value (set2, value_id))))
return false; return false;
} }
return true; return true;
......
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