Commit 833248d2 by Richard Guenther Committed by Richard Biener

tree-ssa-operands.c (mark_difference_for_renaming): Use bitmap_xor.

2008-05-23  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-operands.c (mark_difference_for_renaming): Use
	bitmap_xor.

From-SVN: r135799
parent 7a0112e7
2008-05-23 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.c (mark_difference_for_renaming): Use
bitmap_xor.
2008-05-23 Uros Bizjak <ubizjak@gmail.com> 2008-05-23 Uros Bizjak <ubizjak@gmail.com>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
......
...@@ -2785,15 +2785,9 @@ mark_difference_for_renaming (bitmap s1, bitmap s2) ...@@ -2785,15 +2785,9 @@ mark_difference_for_renaming (bitmap s1, bitmap s2)
else if (!bitmap_equal_p (s1, s2)) else if (!bitmap_equal_p (s1, s2))
{ {
bitmap t1 = BITMAP_ALLOC (NULL); bitmap t1 = BITMAP_ALLOC (NULL);
bitmap t2 = BITMAP_ALLOC (NULL); bitmap_xor (t1, s1, s2);
bitmap_and_compl (t1, s1, s2);
bitmap_and_compl (t2, s2, s1);
bitmap_ior_into (t1, t2);
mark_set_for_renaming (t1); mark_set_for_renaming (t1);
BITMAP_FREE (t1); BITMAP_FREE (t1);
BITMAP_FREE (t2);
} }
} }
......
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