Re: [PATCH] Avoid two bitmap_copies in df

2014-03-18 Thread Jakub Jelinek
On Tue, Mar 18, 2014 at 01:32:57PM +0100, Richard Biener wrote: > 2014-03-18 Richard Biener > > * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy > by using bitmap_and_compl instead of bitmap_and_compl_into. > (df_rd_transfer_function): Likewise. Ok, thanks. Ja

[PATCH] Avoid two bitmap_copies in df

2014-03-18 Thread Richard Biener
I found this patch in my local tree which avoids copying a bitmap by doing bitmap_and_compl (&tmp, op2, dense_invalidated); instead of bitmap_copy (&tmp, op2); bitmap_and_compl_into (&tmp, dense_invalidated); which should besides speed also eventually reduce peak memory