Re: Use anti-ranges in memcpy/memset expansion

2013-11-18 Thread Richard Biener
On Mon, 18 Nov 2013, Jan Hubicka wrote: > Hi, > this patch adds support to anti-ranges to determine_block_size. > This makes it possible to bound size of block from bellow that is > useful to avoid need for small size code path and it also allows > us to inline the following: > void *a; > void *b;

Use anti-ranges in memcpy/memset expansion

2013-11-18 Thread Jan Hubicka
Hi, this patch adds support to anti-ranges to determine_block_size. This makes it possible to bound size of block from bellow that is useful to avoid need for small size code path and it also allows us to inline the following: void *a; void *b; t(int c) { if (c<10) memcpy (a,b,c); } Because