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
This commit is contained in:
Richard Guenther 2012-05-14 11:36:58 +00:00 committed by Richard Biener
parent 412a1d9e4a
commit 92290a187e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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)
{
unsigned int value_id = VN_INFO (op)->value_id;
if (!bitmap_set_contains_value (set1, value_id)
|| (set2 && !bitmap_set_contains_value (set2, value_id)))
if (!(bitmap_set_contains_value (set1, value_id)
|| (set2 && bitmap_set_contains_value (set2, value_id))))
return false;
}
return true;