Re: VRP: convert pointers of known quantity better

2018-09-17 Thread Aldy Hernandez
On 09/14/2018 05:25 PM, Jeff Law wrote: On 9/14/18 4:31 AM, Aldy Hernandez wrote: Apparently, my work on VRP will never finish. There's an infinity of things that can be tweaked ;-). First, we shouldn't drop to null/non-null when we know what the actual pointer value is.  For example, [1, 3] wh

Re: VRP: convert pointers of known quantity better

2018-09-14 Thread Jeff Law
On 9/14/18 4:31 AM, Aldy Hernandez wrote: > Apparently, my work on VRP will never finish. There's an infinity of > things that can be tweaked ;-). > > First, we shouldn't drop to null/non-null when we know what the actual > pointer value is.  For example, [1, 3] which we get when we store magic >

VRP: convert pointers of known quantity better

2018-09-14 Thread Aldy Hernandez
Apparently, my work on VRP will never finish. There's an infinity of things that can be tweaked ;-). First, we shouldn't drop to null/non-null when we know what the actual pointer value is. For example, [1, 3] which we get when we store magic numbers in a pointer (p == (char *)1). BTW, for