[PATCH] tree-optimization/101105 - fix runtime alias test optimization

Jeff Law jeffreyalaw@gmail.com
Wed Jun 23 23:56:42 GMT 2021



On 6/23/2021 4:46 AM, Richard Biener wrote:
> We were ignoring DR_STEP for VF == 1 which is OK only in case
> the scalar order is preserved or both DR steps are the same.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?
>
> Thanks,
> Richard.
>
> 2021-06-23  Richard Biener  <rguenther@suse.de>
>
> 	PR tree-optimization/101105
> 	* tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
> 	Only ignore steps when they are equal or scalar order is preserved.
>
> 	* gcc.dg/torture/pr101105.c: New testcase.
OK
jeff



More information about the Gcc-patches mailing list