Richard Sandiford writes:
> tree-vect-loop-manip.c assumes there is an alias if:
I meant _unless_.
> ((store_ptr_0 + store_segment_length_0) < load_ptr_0)
> || (load_ptr_0 + load_segment_length_0) < store_ptr_0))
>
> which means that contiguous arrays are unnecessarily considered to al
On Wed, Jul 13, 2011 at 1:00 PM, Richard Sandiford
wrote:
> tree-vect-loop-manip.c assumes there is an alias if:
>
> ((store_ptr_0 + store_segment_length_0) < load_ptr_0)
> || (load_ptr_0 + load_segment_length_0) < store_ptr_0))
>
> which means that contiguous arrays are unnecessarily cons
tree-vect-loop-manip.c assumes there is an alias if:
((store_ptr_0 + store_segment_length_0) < load_ptr_0)
|| (load_ptr_0 + load_segment_length_0) < store_ptr_0))
which means that contiguous arrays are unnecessarily considered to alias.
This patch changes the "<" to "<=". Tested on x8