mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 11:19:58 +08:00
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:
parent
412a1d9e4a
commit
92290a187e
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user